-
Notifications
You must be signed in to change notification settings - Fork 563
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 Helm 3.7.0 and new OCI Chart Format #1970
Conversation
7909986
to
7dbdb88
Compare
Please, helm 3.6.3 doesn't support to install a 3.7.0 packaged helm chart:
|
Signed-off-by: Aditya Menon <[email protected]>
Looking for this too. What would be the oci format in helmfile. Is this correct?
|
@dkirrane I've ensured I think format below should work
Though I'm open to changing it, where the user needs to explicitly specify Depends on what the other users prefer (explicit vs implicit @mumoshu What would your opinion on this be? |
Leaving out oci:// is good with me |
I prefer removing the oci: true property, and explicitly adding the oci:// protocol |
The first part would be out of scope for this PR at least, since it'd require a lot of changes as to how helmfile differentiates a regular chart from an OCI one The second part my only concern is, how many users/workflows would be affected since they'd need to edit their helmfile to accommodate this. Helm 3.7.0 was already an annoyance (giving no deprecation warning/timeline for the older OCI commands) which disrupted a lot of systems |
You are right, and I agree with you, however there is to consider that the approach used by Helm for the management of the OCI was declared as experimental, and could be removed at any moment, to be used at your own risk. In any case, in my opinion, it is possible to manage both approaches, to avoid breaking changes:
and
|
I'll try experimenting on this and see if I can get it to work Keeping both options sounds like a good idea 👍 |
Hello |
+1 |
@roboll Are there any blockers we need to resolve to get have this merged? |
@mumoshu Could I get a review for my PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the enhancement @aditmeno!
@eshepelyuk @sbckr @whyman I don't usually say things like this as I believe users know what they're doing but anyway- You shouldn't use any experimental features in a production-like environment that requires urgency in enhancements like this! Ah..., or maybe we lack documentation on the helmfile side to say that helm's OCI support is experimental? I can get important feedbacks like this only when it breaks so I'd appreciate your feedback. |
@mumoshu I really like the OCI support in helm and helmfile, and we use this feature in our alpha-ish / development environment. The recent changes to helm broke our convenience setup, and there would have been many ways to work around the issue that arose, but I wanted to express my support for the enhancement provided by @aditmeno and OCI support in general. Regarding your question, helm indicates in its documentation or feature abstract that the support for OCI is experimental. Since helmfile adds on top of helm, it is more or less implicit that this feature is experimental, but unless I am missing something elsewhere, it is not written in helmfile's documentation directly. If you want to make it explicit, I'd suggest to add a note to oci-registries referring to Helm - Registries or OCI Feature Abstract. |
With the release of Helm 3.7.0, the OCI specific segments were completely reworked, causing helmfile to fail with OCI charts
This PR seeks to address the Helm specific changes required
HIP-006
Helm 3.7.0
NB -
Helm 3.7.0 has changed the way OCI charts are packaged, so they are no longer compatible with chats packaged with Helm 3.6.3 or earlier
You will need to repackage your OCI charts