-
Notifications
You must be signed in to change notification settings - Fork 11
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
Support specifying checksum(s) #1
Comments
Makes sense! |
Could most of Importantly, the I'd imagine adding a |
Also this repo has a git_chart branch which provides additional but hacky features: Referencing helm charts using go-getters and excluding particular resources like in this example where I fetched linkerd's helm chart from its git repo because they don't publish it but ship their own CLI that uses it. However I did not merge the feature into master because this is something you usually don't want to do or rather using charts in a way they are not meant to be used is likely to cause problems during upgrades. Though this branch contains a few other small improvements as well. |
Right, I didn't consider the initial download/unpack logic. Well, I think I'll take a stab at this. :) |
@scjudd great! |
Solved by PR #5 |
I have to reopen this to clarify some requirements because I have to change some of the logic when upgrading to helm 3. The features for helm 2 done in PR #5 can be tested in release v0.9.2. People (including me) were confused about the actual feature that should be implemented:
The changes introduced in PR #5 unfortunately don't work this way with the helm 3 code anymore (since e.g. If you really need the I am looking forward to receiving your feedback! |
@mgoltzsche what I want to do is lock to a particular version of a chart, so that what I audit and test locally (e.g. cert-manager 1.0.1) is the exact same thing that gets deployed onto my cluster.
I was under the impression that the checksums in |
Using Instead I recommend to use kpt to render a helm chart into a git repo using a kpt function and commit and push the result (see here). Your CD pipeline ( Soon I ll ship this project as kpt function container image as well since it supports a few more features than the official one. As I understand, since their code is maintained within the kustomize repo, kpt functions will soon also be available within kustomize directly and eventually replace kustomize' current plugin interface (which is still alpha) - the latter is just me guessing. |
I am closing this since @daurnimator you can guarantee that manifests don't change after you have audited them using the kpt functionality for which I've also prepared an example - though in practice you would also commit |
fyi: there is now an example that shows how to pull in charts from other git repositories as kpt dependencies before rendering them with khelm - though currently the resulting manifest is not functional yet. |
To ensure that a chart doesn't change out from under me, I'd like to include checksums in my generator (the same checksum you'd see in requirements.lock)
The text was updated successfully, but these errors were encountered: