-
Notifications
You must be signed in to change notification settings - Fork 164
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
Ignore 'v' version prefix in OCI artifact and Helm chart #990
Conversation
The |
I ran into this with cert-manager:
They're using a v-prefixed version in their charts (that's also in the Chart.yaml).
The other way around: charts-syncer stores the Helm artifact in OCI tagged as |
Ok, we can backport this to v1.0.x but I would wait a week or two before doing a patch release. |
We should also allow the reverse situation, v prefix in the tag, but no v in Chart.yaml. |
It catches both. I implemented a test for each case. |
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 @makkes 🏅
Tools such as Bitnami's charts-syncer strip the `v` prefix from the chart version so that the OCI artifact version differs from the version defined in the chart's metadata. This leads to an error similar to this returned from h-c: ``` artifact revision 1.14.5 does not match chart version v1.14.5 ``` This commit makes h-c ignore a leading `v` prefix in either the chart version of the OCI artifact tag. Signed-off-by: Max Jonas Werner <[email protected]>
Successfully created backport PR for |
Tools such as Bitnami's charts-syncer strip the
v
prefix from the chart version so that the OCI artifact version differs from the version defined in the chart's metadata. This leads to an error similar to this returned from h-c:This PR makes h-c ignore a leading
v
prefix in either the chart version of the OCI artifact tag.