Interview Prep/Helm/Release Lifecycle, Repositories & OCI

What does `helm uninstall --keep-history` do?

IntermediateConceptRelease Lifecycle, Repositories & OCI
Answer

It deletes the release's resources but keeps the revision Secrets marked uninstalled. You can still read helm history, and you can helm rollback to bring the release back. It is useful when decommissioning something you might need to restore, and for audit. A plain helm install with the same name then fails with cannot re-use a name that is still in use; restore with helm rollback shop <revision>, or start over with helm install --replace.

All Helm questions Roadmap: Helm

More on Release Lifecycle, Repositories & OCI