From 863d958295816d66e6922e5bb54006c91ed474b7 Mon Sep 17 00:00:00 2001 From: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com> Date: Tue, 12 Mar 2024 02:32:10 -0400 Subject: [PATCH] Fix mode replacement (#372) ref: https://issues.redhat.com/browse/ACM-10392 Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com> --- test/e2e-test.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e-test.mk b/test/e2e-test.mk index 0738b7425..1100bce9b 100644 --- a/test/e2e-test.mk +++ b/test/e2e-test.mk @@ -115,7 +115,7 @@ bootstrap-secret-hosted: $(KUSTOMIZE) build deploy/klusterlet/config/samples/bootstrap | $(SED_CMD) -e "s,namespace: open-cluster-management-agent,namespace: $(KLUSTERLET_NAME)," | $(KUBECTL) apply -f - apply-spoke-cr-hosted: bootstrap-secret-hosted external-managed-secret - $(KUSTOMIZE) build deploy/klusterlet/config/samples | $(SED_CMD) -e "s,mode: Default,mode: SingletonHosted," -e "s,quay.io/open-cluster-management/registration$$,$(REGISTRATION_IMAGE)," -e "s,quay.io/open-cluster-management/work,$(WORK_IMAGE)," -e "s,quay.io/open-cluster-management/registration-operator,$(OPERATOR_IMAGE_NAME)," -e "s,cluster1,$(MANAGED_CLUSTER_NAME)," -e "s,name: klusterlet,name: $(KLUSTERLET_NAME)," -r | $(KUBECTL) apply -f - + $(KUSTOMIZE) build deploy/klusterlet/config/samples | $(SED_CMD) -e "s,mode: Singleton,mode: SingletonHosted," -e "s,quay.io/open-cluster-management/registration$$,$(REGISTRATION_IMAGE)," -e "s,quay.io/open-cluster-management/work,$(WORK_IMAGE)," -e "s,quay.io/open-cluster-management/registration-operator,$(OPERATOR_IMAGE_NAME)," -e "s,cluster1,$(MANAGED_CLUSTER_NAME)," -e "s,name: klusterlet,name: $(KLUSTERLET_NAME)," -r | $(KUBECTL) apply -f - clean-hub-cr-hosted: $(KUBECTL) delete managedcluster --all --ignore-not-found