-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Helm-Chart for kubevirt-hostpath-provisioner #326
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @moffoso. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
To make the DCO happy, can you |
So I have little to no experience with helm charts. So I can't promise I will maintain it properly. Do we want to create some release artifacts when I release a new version of the provisioner related to the helm charts? |
Signed-off-by: Daniel Hendricken <daniel.hendricken@bedag.ch>
Signed-off-by: Daniel Hendricken <daniel.hendricken@bedag.ch>
Hey @awels Unless there are breaking changes to the provisioner, the chart wont need to be updated. The image-tag is set to "latest" per default. (The exeption being if the functionality- of the chart should be extended or improved in some manner) A release artifact would increase quality of life, especially for example in a CI/CD setup.
and then install while specifying your own values
The repo/branch containing the helm-packages then needs and index.yaml used for indexing the charts in the repository.
Branch contents
And finally a release that contains the individual helm-packages. If that's not something you would want to maintain, that's understandable. In that case a github-release of the chart would suffice for most use-cases. Alternatively I could host a repository for the chart and maintain it. I just thought it could potentially be of interest to you. Cheers |
Signed-off-by: Daniel Hendricken <daniel.hendricken@bedag.ch>
…ubstituted correctly Signed-off-by: Daniel Hendricken <daniel.hendricken@bedag.ch>
…ubstituted correctly Signed-off-by: Daniel Hendricken <daniel.hendricken@bedag.ch>
I did some testing, and found that pvc's would stay pending due to an an error in the rendering of the daemonset manifest. For some reason that I haven't yet got to the bottom of yet. The issue has been resolved, and pv's are provisioned as expected now. |
Okay I have no issues with this, just one question, what is in the tgz file? Is it just a tarred and gzipped version of the helm chart? |
Indeed it is, it's purely for convenience sake. So that you can install the chart by simply downloading the archive and then running
Optionally you can append |
So maybe instead of putting that in the repo, when I make the release, we create the tgz as an artifact, and you can download that to install it? |
That would be ideal! |
If you look at https://github.com/kubevirt/hostpath-provisioner/blob/main/hack/release.sh#L45-L59 that is what is called when it is building the release. I don't know what goes in the tgz file, but if you could modify that to create the file, and put it in the list of things to push that would be great. |
Alright sounds good, I'll probably find time to do that tomorrow. |
I guess you didn't find time, which is fine. Just bumping this so the bot won't start putting stale on it. |
Friendly ping to @kubelize for this PR this feature is very much appreciated :) |
What this PR does / why we need it:
Helm is a very practical method to deploy, update and rollback applications and operators in Kubernetes. This PR adds a fully functional helm-chart that allows for a single command to deploy, and by specifying your own values.yaml modify any of the values listed in the README.md for the chart.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
A github-pages deployment which would server as the endpoint for the helm-chart releases would add additional ease of use and quality to the chart. But I leave that up to you if it's something that would interest you :)
Release note: