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
feat(kustomize): support OCI helm charts #27163
feat(kustomize): support OCI helm charts #27163
Conversation
Signed-off-by: Chance Zibolski <chance.zibolski@gmail.com>
ab65a2d
to
af2accb
Compare
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.
🎉 This PR is included in version 37.243.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Awesome thanks everyone! |
I'm glad to report that I'm seeing this working in a few of my repos now. 🎉 |
I just went back into @thomaschaaf's minimal reproduction repo below and it got me thinking: is this working fully as desired yet? See: Here's what Renovate changed in that issue description ~18 hours ago: |
please open a new discussion |
Changes
Correctly handle OCI charts with the kustomize manager. This requires setting the datasource to
docker
and replacing theoci://
scheme withhttps://
. For the implementation, I simply adapted the approach used in the helmv3 manager. I do think there's more to do in terms of support, like digests, and probably auth, but for my use-case, this was sufficient. I tested with, and without auth against a quay.io registry.Context
Renovate was updated to handle updating helmCharts within a
kustomization.yaml
in #12628. However, in Kustomize 5.2.0 it got support for inflating helm charts stored in OCI repositories. Currently renovate fails to update these dependencies because it simply treats OCI helm repos the same as regular helm repos, and fails.There were similar issues with other managers, but nothing for Kustomize that I could find. The related issues for other managers I found are:
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: