To uninstall Stash Community edition, run the following command:
In Helm 3, release names are scoped to a namespace. So, provide the namespace you used to install the operator when installing.
$ helm uninstall stash --namespace kube-system
If you prefer to not use Helm, you can generate YAMLs from Stash chart and uninstall using
$ helm template stash appscode/stash -n kube-system \ --set features.community=true \ --set global.license="nothing" \ --set global.skipCleaner=true | kubectl delete -f -
The above uninstallation process will uninstall the Stash operator. However, it will keep the Stash registered CRDs so that you don’t lose your Stash objects i.e.
Repository, etc. during re-installation. If you want to remove the Stash CRDs too, please run the following command.
kubectl delete crd -l=app.kubernetes.io/name=stash
If you wan’t to delete the
AppBinding CRD, run the following command.
kubectl delete crd -l=app.kubernetes.io/name=catalog