I am looking for a way to rollback a helm release to its previous release without specifying the target release version as a number.
Something like helm rollback <RELEASE> ~1
(like git reset HEAD~1
) would be nice.
As it turns out, there is an undocumented option to rollback to the last successful release by defining the target release version as 0. like: helm rollback <RELEASE> 0
Source: https://github.com/helm/helm/issues/1796
Unlike the previous old answers above.
According to the latest documentation, you can rollback to the previous version by simply omitting the argument in helm rollback
. Which means your command should like below to rollback to the previous version.
helm rollback <RELEASE_NAME>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With