Merge pull request #132 from xuezhaojun/fix_clean_deploy_failed

Fixed clean-deploy failed
This commit is contained in:
OpenShift Merge Robot
2021-06-22 08:21:06 -04:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
+3 -2
View File
@@ -122,14 +122,15 @@ apply-spoke-cr: bootstrap-secret
$(KUSTOMIZE) build deploy/klusterlet/config/samples | $(SED_CMD) -e "s,quay.io/open-cluster-management/registration,$(REGISTRATION_IMAGE)," -e "s,quay.io/open-cluster-management/work,$(WORK_IMAGE)," | $(KUBECTL) apply -f -
clean-hub-cr:
$(KUBECTL) delete -k deploy/cluster-manager/config/samples --ignore-not-found
$(KUSTOMIZE) build deploy/cluster-manager/config/samples | $(KUBECTL) delete --ignore-not-found -f -
clean-hub-operator:
$(KUSTOMIZE) build deploy/cluster-manager/config | $(KUBECTL) delete --ignore-not-found -f -
clean-spoke-cr:
$(KUBECTL) delete managedcluster --all --ignore-not-found
$(KUBECTL) delete -k deploy/klusterlet/config/samples --ignore-not-found
$(KUSTOMIZE) build deploy/klusterlet/config/samples | $(KUBECTL) delete --ignore-not-found -f -
$(KUSTOMIZE) build deploy/klusterlet/config/samples/bootstrap | $(KUBECTL) delete --ignore-not-found -f -
clean-spoke-operator:
$(KUSTOMIZE) build deploy/klusterlet/config | $(KUBECTL) delete --ignore-not-found -f -
@@ -1,3 +1,2 @@
resources:
- operator_open-cluster-management_klusterlets.cr.yaml
- bootstrap