Problem Description
On attempting a reinstall or upgrade --install, you see the error "Error: INSTALLATION FAILED: cannot re-use a name that is still in use".Explanation
This indicates that Helm had an issue at some point with an install and that the install has not been removed. Specifically, if the operator was removed using helm uninstall it will leave the secrets object which will need to be removed.Solution
Run kubectl get secrets -A and get the helm.sh/release secret
Delete the secret with kubectl delete command specifying the name of the secret. e.g. for the secret sh.helm.release.v1.aerospike-kubernetes-operator.v1 in the namespace ako run the command kubectl delete secret/sh.helm.release.v1.aerospike-kubernetes-operator.v1 -nako
This will delete the secret and allow you to install or re-install the operator