Please follow the steps below to uninstall Stash:
$ curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.6.4/hack/deploy/uninstall.sh | bash
+ kubectl delete deployment -l app=stash -n kube-system
deployment "stash-operator" deleted
+ kubectl delete service -l app=stash -n kube-system
service "stash-operator" deleted
+ kubectl delete secret -l app=stash -n kube-system
No resources found
+ kubectl delete serviceaccount -l app=stash -n kube-system
No resources found
+ kubectl delete clusterrolebindings -l app=stash -n kube-system
No resources found
+ kubectl delete clusterrole -l app=stash -n kube-system
No resources found
+ kubectl delete initializerconfiguration -l app=stash
initializerconfiguration "stash-initializer" deleted
$ kubectl get pods --all-namespaces -l app=stash
Restic
objects, run:kubectl get restic.stash.appscode.com --all-namespaces -o yaml > data.yaml
Restic
objects from all namespaces, run the following command in each namespace one by one.kubectl delete restic.stash.appscode.com --all --cascade=false
kubectl delete crd -l app=stash