Helm installation failed with bundle error
Helm installation fails to continue with the following error message:
Unable to continue with install: Bundle "db-cert" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to <release-name>"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to <NetBackup namespace>
This issue occurs when db-cert bundle is not deleted from the "" empty namespace after Cloud Scale deployment is uninstalled.
To resolve the issue, perform the following:
- Use the following command to check if the
db-certbundle exists:kubectl get bundle -n ""
- Use the following command to delete the
db-certbundle:kubectl delete bundle db-cert -n ""