Forum Navigation
You need to log in to create posts and topics.

Error: uninstallation completed with 1 error(s): uninstall: Failed to purge the release: release: not found

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 github

kubectl get secret -n github
kubectl delete secret MY-RELEASE-SECRET -n github

 

 

 

 

Uploaded files: