Uninstalling the Chart using Helm Command Line
To uninstall or delete the my-release deployment, run the following command:
- OCP:
helm uninstall my-release - Kubernetes:
helm uninstall my-release -n <namespace>
Since, there are certain Kubernetes resources created using the pre-install hook, helm delete command will try to delete them as a post delete activity. In case it fails to do so, you must manually delete the following resources created by the chart:
- ConfigMap - -Migrator-Setupfile
- ConfigMap - -Dbutils-Setupfile
- PersistentVolumeClaim if persistence is enabled - -resources-pvc only if resources pv are enabled
- PersistentVolumeClaim if persistence is enabled - -logs-pvc #enable logs for migrator and dbutils.
Note: You may also consider deleting the secrets and persistent volumes created as part of
prerequisites, after creating their backups.