From fc38f5d47bf43fd0c48c2bd5b915889ccd4dc835 Mon Sep 17 00:00:00 2001 From: Feny Mehta Date: Mon, 23 Dec 2024 17:26:39 +0530 Subject: [PATCH] KUBESAW-172: Restart host-operator at the end of the register-member command (#1080) Signed-off-by: Feny Mehta Co-authored-by: Matous Jobanek --- make/test.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/make/test.mk b/make/test.mk index d294c5bcf..2059207ac 100644 --- a/make/test.mk +++ b/make/test.mk @@ -265,8 +265,6 @@ print-operator-logs: setup-toolchainclusters: ksctl ${KSCTL_BIN_DIR}ksctl adm register-member --host-ns="$(HOST_NS)" --member-ns="$(MEMBER_NS)" --host-kubeconfig="$(or ${KUBECONFIG}, ${HOME}/.kube/config)" --member-kubeconfig="$(or ${KUBECONFIG}, ${HOME}/.kube/config)" ${LETS_ENCRYPT_PARAM} -y if [[ ${SECOND_MEMBER_MODE} == true ]]; then ${KSCTL_BIN_DIR}ksctl adm register-member --host-ns="$(HOST_NS)" --member-ns="$(MEMBER_NS_2)" --host-kubeconfig="$(or ${KUBECONFIG}, ${HOME}/.kube/config)" --member-kubeconfig="$(or ${KUBECONFIG}, ${HOME}/.kube/config)" ${LETS_ENCRYPT_PARAM} --name-suffix="2" -y ; fi - echo "Restart host operator pods so it can get the ToolchainCluster CRs while it's starting up". - oc delete pods --namespace ${HOST_NS} -l control-plane=controller-manager .PHONY: deploy-single-member-e2e