Skip to content

Commit

Permalink
Revert "e2e: remove make install-cert-manager for verify_deployment (
Browse files Browse the repository at this point in the history
…#102)"

This reverts commit 9d15d92.

Signed-off-by: Ernest Wong <[email protected]>
  • Loading branch information
Ernest Wong committed Jul 22, 2021
1 parent 3960c68 commit 1130c52
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/ci-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ create_cluster() {
WINDOWS_NODE_NAME="$(${KUBECTL} get node --selector=kubernetes.io/os=windows -ojson | jq -r '.items[0].metadata.name')"
if [[ "${WINDOWS_NODE_NAME}" == "null" ]]; then
unset WINDOWS_NODE_NAME
else
# taint the windows node to prevent cert-manager pods from scheduling to it
${KUBECTL} taint nodes "${WINDOWS_NODE_NAME}" kubernetes.io/os=windows:NoSchedule --overwrite
fi

if [[ "${REGISTRY}" =~ \.azurecr\.io ]]; then
Expand Down Expand Up @@ -85,6 +88,8 @@ main() {
sleep 120

if [[ -n "${WINDOWS_NODE_NAME:-}" ]]; then
# remove the taint from the windows node we introduced above
${KUBECTL} taint nodes "${WINDOWS_NODE_NAME}" kubernetes.io/os=windows:NoSchedule-
E2E_ARGS="--node-os-distro=windows ${E2E_ARGS:-}"
export E2E_ARGS
fi
Expand Down

0 comments on commit 1130c52

Please sign in to comment.