adding CR deletion
following https://github.com/operator-framework/getting-started#cleanup
This commit is contained in:
parent
f8c94e43bb
commit
ead3a612a5
1
Makefile
1
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
|
uninstall: ## Uninstall all that all performed in the $ make install
|
||||||
@echo ....... Uninstalling .......
|
@echo ....... Uninstalling .......
|
||||||
@echo ....... Deleting CRDs.......
|
@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}
|
- kubectl delete -f deploy/crds/seaweedfs.com_seaweedfsclusters_crd.yaml -n ${NAMESPACE}
|
||||||
@echo ....... Deleting Rules and Service Account .......
|
@echo ....... Deleting Rules and Service Account .......
|
||||||
- kubectl delete -f deploy/role.yaml -n ${NAMESPACE}
|
- kubectl delete -f deploy/role.yaml -n ${NAMESPACE}
|
||||||
|
Loading…
Reference in New Issue
Block a user