-
Notifications
You must be signed in to change notification settings - Fork 393
Add Helm Chart manifests and GitHub Release Helm Chart for the snapshot-controller component #622
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
base: master
Are you sure you want to change the base?
Conversation
Welcome @kaskol10! |
Hi @kaskol10. Thanks for your PR. I'm waiting for a kubernetes-csi member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the 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. |
/assign @msau42 |
Please include CRDs into chart as well. |
According to stevehipwell, is it really a good practice to install CRDs part of a helm chart ? |
@SamuelBagattin Helm isn't able to manage full lifecycle of CRDs, that's true, but it is quite capable of installing CRDs if there is none. Which solves initial deployment task. It's common practice on CRDs change to bump major chart version and provide instructions how to update CRDs, check out https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack. |
Great work, @kaskol10 , many thanks! |
Hi @kaskol10 🙌 |
/ok-to-test |
My concern with this is continued support of helm charts by the maintainers, I am not sure if that's something the team would have the bandwidth to do for every release. I'll defer to @xing-yang as to if we want to continue maintaining helm charts for the snapshot-controller in this repo. |
Thanks @kaskol10 for your contribution. As mentioned by @ggriffiths, that's exactly the concern we have. |
We too would really like an easy way to actually install this.. What other way do you recommend, instead of using a Helm Chart? |
The deployment files under deploy/kubernetes will work. We maintain those for every release with new flags/RBAC/etc. If there's enough interest, maybe you can create a separate repo to house and maintain the Helm installation. |
Maybe the solution is to generate the plain manifests from the helm chart (and add a pipeline to ensure. WDYT? NB: there is also helmify to create charts from plain manifests. |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/remove-lifecycle rotten I'd still like to see this and would use it if it were available |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
I recently encountered an issue where I updated the file The root cause seems to be that, when a new tag is released, there are many files to update (e.g., deployments, CRDs, etc.), which increases the chances of such issues occurring. In contrast, Helm charts only require bumping the I understand your concern about maintaining the Helm chart, but given how widely used this project is, I really don't think that neglecting maintenance will become an issue. |
**What type of PR is this?** /kind feature **What this PR does / why we need it**: This PR convert our static deployment manifests from `deploy/kubernetes/*` into Helm Charts under `charts/*`, by running a convert script under `deploy/util/chart-releaser.sh`. Moreover, it handle the chart release with branch `gh-pages`, by integrate with https://github.com/helm/chart-releaser-action. Before each stable tag release, maintainers only required to: 1. Run the `./deploy/util/chart-releaser.sh` and update templates under `charts/*/templates/*` 2. Double confirm `charts/*/values.yml` with correct values, e.g. image tags 3. `git add --all --force charts/* && git commit` **Which issue(s) this PR fixes**: Fixes kubernetes-csi#551 Fixes kubernetes-csi#622 Fixes kubernetes-csi#751 Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
**What type of PR is this?** /kind feature **What this PR does / why we need it**: This PR convert our static deployment manifests from `deploy/kubernetes/*` into Helm Charts under `charts/*`, by running a convert script under `deploy/util/chart-releaser.sh`. Moreover, it handle the chart release with branch `gh-pages`, by integrate with https://github.com/helm/chart-releaser-action. Before each stable tag release, maintainers only required to: 1. Run the `./deploy/util/chart-releaser.sh` and update templates under `charts/*/templates/*` 2. Double confirm `charts/*/values.yml` with correct values, e.g. image tags 3. `git add --all --force charts/* && git commit` **Which issue(s) this PR fixes**: Fixes kubernetes-csi#551 Fixes kubernetes-csi#622 Fixes kubernetes-csi#751 Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
**What type of PR is this?** /kind feature **What this PR does / why we need it**: This PR convert our static deployment manifests from `deploy/kubernetes/*` into Helm Charts under `charts/*`, by running a convert script under `deploy/util/chart-releaser.sh`. Moreover, it handle the chart release with branch `gh-pages`, by integrate with https://github.com/helm/chart-releaser-action. The sample helm repo could find from https://alvistack.github.io/kubernetes-csi-external-snapshotter/index.yaml, by: helm repo add external-snapshotter https://alvistack.github.io/kubernetes-csi-external-snapshotter helm repo update helm search repo external-snapshotter Before each stable tag release, maintainers only required to: 1. Run the `./deploy/util/chart-releaser.sh` and update templates under `charts/*/templates/*` 2. Double confirm `charts/*/values.yml` with correct values, e.g. image tags 3. `git add --all --force charts/* && git commit` **Which issue(s) this PR fixes**: Fixes kubernetes-csi#551 Fixes kubernetes-csi#622 Fixes kubernetes-csi#751 Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
any luck to move forward with this? |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
What type of PR is this?
/kind design
What this PR does / why we need it:
The changes introduced with this PR allow for better integration snapshot-controller and Helm. Besides, publish the Helm Chart in the GitHub Releases Pages using a GitHub Action.
Which issue(s) this PR fixes:
Fixes #551
Special notes for your reviewer:
A GitHub branch called
gh-pages
would be needed to store the published charts. It's a pre-requisite for chart-releaser-actionDoes this PR introduce a user-facing change?: