Skip to content

Commit

Permalink
fix kind-context
Browse files Browse the repository at this point in the history
  • Loading branch information
Congrool committed Sep 30, 2021
1 parent d96c624 commit 472ac9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/local_up_openyurt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 472ac9d

Please sign in to comment.