helm icon indicating copy to clipboard operation
helm copied to clipboard

Add command line gate for changing a release's chart

Open xrl opened this issue 3 years ago • 1 comments

We author many charts and make many releases. Sometimes we screw up and overwrite an existing release by running a helm install with the name of an existing release that's on a different chart.

It would be nice to have a flow like:

$ helm ls
my-release                   the-app      525             2022-09-09 15:23:22.440161232 +0000 UTC deployed        my-chart-0.1.242
$ helm install --upgrade my-release my-other-chart ...
ERROR release is already installed with chart `my-chart`. In order to replace with `my-other-chart` use `--allow-chart-change`

xrl avatar Sep 09 '22 15:09 xrl

This would require storing that information in the release object. Please review the HIP related to this proposal and add any feedback you might have. Once that feature is implemented, this wouldn't be that difficult to implement.

joejulian avatar Sep 13 '22 23:09 joejulian

This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.

github-actions[bot] avatar Dec 13 '22 00:12 github-actions[bot]

This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.

github-actions[bot] avatar Mar 14 '23 00:03 github-actions[bot]