Skip to content

Commit

Permalink
KUBESAW-172: Restart host-operator at the end of the register-member …
Browse files Browse the repository at this point in the history
…command (#1080)

Signed-off-by: Feny Mehta <[email protected]>
Co-authored-by: Matous Jobanek <[email protected]>
  • Loading branch information
fbm3307 and MatousJobanek authored Dec 23, 2024
1 parent d2363ad commit fc38f5d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions make/test.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fc38f5d

Please sign in to comment.