Skip to content
This repository has been archived by the owner on Oct 27, 2023. It is now read-only.

Override flags #33

Open
l-rossetti opened this issue Mar 29, 2020 · 1 comment
Open

Override flags #33

l-rossetti opened this issue Mar 29, 2020 · 1 comment

Comments

@l-rossetti
Copy link

l-rossetti commented Mar 29, 2020

helm-push plugin from Chartmuseum accepts --force parameter and ALLOW_OVERWRITE variable to allow users to choose whether to override the chart or not.

Current behavior of helm-push-artifactory-plugin instead seems to override the chart without considering the aforementioned.

Could you please fix this behavior?
I'm using v0.4.1

@belitre
Copy link
Owner

belitre commented Apr 6, 2020

Hi @l-rossetti

So looks like that ALLOW_OVERWRITE is a feature of ChartMuseum, not the plugin itself.

I'm not sure I'll be able to replicate this feature, because by default artifactory lets you overwrite the version, and in the rest api call I use to push the chart to artifactory you don't have any option to tell it not to overwrite the version :(

Also, since you are pushing to a local repository, I don't think you can check if the version already exists... but I'm just guessing here.

I can't make any promises, but as soon as I have some free time I'll take a look at this to see if there's any way to do it.

Cheers!

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

No branches or pull requests

2 participants