Skip to content
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

Do tag immutability rules only apply to docker images? #11730

Closed
jburandt opened this issue Apr 25, 2020 · 5 comments
Closed

Do tag immutability rules only apply to docker images? #11730

jburandt opened this issue Apr 25, 2020 · 5 comments
Assignees

Comments

@jburandt
Copy link

It would be nice to have a way to prevent users from pushing helm charts to harbor that have the same version and overwrite the previous existing chart. I believe this feature exists in ChartMuseum.

@xaleeks
Copy link
Contributor

xaleeks commented May 4, 2020

Immutability is limited to docker images as of the 1.10.x releases. It has been extended to cover helm charts as of the latest 2.0 release. The enabler for this is that now Harbor tags can be added or removed from helm charts and the immutable rules are defined using these tags as a selection criteria.

@xaleeks
Copy link
Contributor

xaleeks commented May 27, 2020

closing this for now, let me know if you need help navigating this in UI

@xaleeks xaleeks closed this as completed May 27, 2020
@zhijiay
Copy link

zhijiay commented Dec 15, 2021

it is not work on helm charts.
harobr version : v2.4.0-d4affc2e

@rtrompier
Copy link

Anyone can confirm if immutability rules should work with helm charts as well ?

@joerocklin
Copy link

I just tried uploading (as a project admin) the same chart version with different contents on harbor v2.6.4-77903faf with all tags marked as immutable. There were no errors using the helm cm-push command and the updated contents were present for the 'old' version.

I thought "maybe this is because I put the immutability rules in place after uploading the original version?" So I repeated the experiment with a new helm chart put in place after the rules were set up. Same issue. Immutability does not seem to be working on helm charts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants