From ead3a612a560f2abe676300f3b1f00046a930c22 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 20 Nov 2019 15:36:59 -0800 Subject: [PATCH] adding CR deletion following https://github.com/operator-framework/getting-started#cleanup --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 5349e22..5695fef 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,7 @@ install: ## Install all resources (CR/CRD's, RBCA and Operator) uninstall: ## Uninstall all that all performed in the $ make install @echo ....... Uninstalling ....... @echo ....... Deleting CRDs....... + - kubectl delete -f deploy/crds/seaweedfs.com_v1alpha1_seaweedfscluster_cr.yaml -n ${NAMESPACE} - kubectl delete -f deploy/crds/seaweedfs.com_seaweedfsclusters_crd.yaml -n ${NAMESPACE} @echo ....... Deleting Rules and Service Account ....... - kubectl delete -f deploy/role.yaml -n ${NAMESPACE}