Usecase
I'm creating a small chart with out StorageClass
configuration, but there's already one present with the same name, so I'd like helm to "take it under its wings". This can be done by running helm install --replace
. However, this goes against the idempotent way of running helm upgrade --install
that we do when we run the charts
or sync
action.
Proposal
Could we:
- Mark releases to be "replaceable" so we check whether it's run for the first time and we do a
install
instead of an upgrade
?
- Also, provide a way to pass arguments to helm on a release level, so we could pass
--replace
directly in the state file (now I have to do it on the command-line and it's valid for all releases, so I have to use the label selector).