Helm stuck due to upgrade failure

Posted
kubernetes
helm

If you try a `helm upgrade` command while a previous one is still running or stuck, you'll likely get this error:
Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress
To fix: Get and delete the helm secret for the latest (stuck) version.
kubectl get secrets --namespace=<YOUR-NAMESPACE>
kubectl delete secret --namespace=<YOUR-NAMESPACE> sh.helm.release.v1.<RELEASE_NAME>.v<LATEST_REVISION>