From 472ac9db692f9e5b558adf6ebcfeecfe7ff12e87 Mon Sep 17 00:00:00 2001 From: Congrool Date: Thu, 30 Sep 2021 11:49:27 +0800 Subject: [PATCH] fix kind-context --- hack/local_up_openyurt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/local_up_openyurt.sh b/hack/local_up_openyurt.sh index ea1054e520a..1e564c3934c 100644 --- a/hack/local_up_openyurt.sh +++ b/hack/local_up_openyurt.sh @@ -199,7 +199,7 @@ function local_up_cluster { echo "Waiting for the control-plane ready..." kubectl wait --for=condition=Ready node/${CLUSTER_NAME}-control-plane --context ${KIND_CONTEXT} --timeout=${TIMEOUT} master=$(kubectl get node -A -o custom-columns=NAME:.metadata.name --context ${KIND_CONTEXT} | grep control-plane) - edgenodes=$(kubectl get node -A -o custom-columns=NAME:.metadata.name --context kind-${KIND_CONTEXT} | grep work) + edgenodes=$(kubectl get node -A -o custom-columns=NAME:.metadata.name --context ${KIND_CONTEXT} | grep work) } # $1 yurt-tunnel-agent image with the format of "name:tag"