Error: uninstallation completed with 1 error(s): uninstall: Failed to purge the release: release: not found
Quote from moshe on 18/12/2022, 7:10 amProblem
User tries to delete a chart and get the following error even if -n <NAMESPACE> specified
Error: uninstallation completed with 1 error(s): uninstall: Failed to purge the release: release: not found
Solution
This can happen due to chart configuration / setup incorrect. or because of changes of versioning of Kubernetes ( Upgrades )
You need to delete manually all the entries that was
Run the following commands
kubectl get all | grep MY-RELEASE | awk '{print "kubectl delete " $1}'
kubectl get configmap -n github
kubectl delete configmap MY-RELEASE-SECRET -n githubkubectl get secret -n github
kubectl delete secret MY-RELEASE-SECRET -n github
Problem
User tries to delete a chart and get the following error even if -n <NAMESPACE> specified
Error: uninstallation completed with 1 error(s): uninstall: Failed to purge the release: release: not found
Solution
This can happen due to chart configuration / setup incorrect. or because of changes of versioning of Kubernetes ( Upgrades )
You need to delete manually all the entries that was
Run the following commands
kubectl get all | grep MY-RELEASE | awk '{print "kubectl delete " $1}'
kubectl get configmap -n github
kubectl delete configmap MY-RELEASE-SECRET -n githubkubectl get secret -n github
kubectl delete secret MY-RELEASE-SECRET -n github
Uploaded files: