How does `helm rollback` work?
BeginnerConceptRelease Lifecycle, Repositories & OCI
Answer
It takes the manifest and values stored in a previous revision and applies them as a new revision. History is never rewritten.
helm history shop -n shop
# REVISION STATUS CHART APP VERSION DESCRIPTION
# 4 superseded shop-1.3.0 2.2.0 Upgrade complete
# 5 deployed shop-1.4.0 2.3.0 Upgrade complete
helm rollback shop 4 -n shop --wait --timeout 5m
# revision 6 created, content of revision 4
helm rollback shop with no revision goes to the previous one.
More on Release Lifecycle, Repositories & OCI
Why is `helm upgrade --install` the standard CI command?BeginnerWhat does `--wait` actually wait for?IntermediateWhat does `--atomic` do?BeginnerWhat is `--cleanup-on-fail`?AdvancedWhat does a Helm rollback NOT undo?AdvancedExplain release statuses you might see in `helm list -a` or `helm history`.Intermediate