Uninstall Stash

To uninstall Stash operator, run the following command:

$ curl -fsSL https://github.com/stashed/installer/raw/v0.9.0-rc.1/deploy/stash.sh \
    | bash -s -- --uninstall [--namespace=NAMESPACE]

+ 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

The above command will leave the Stash crd objects as-is. If you wish to nuke all Stash crd objects, also pass the --purge flag. This will keep a copy of Stash crd objects in your current directory.