File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ create-workload-cluster: $(ENVSUBST) $(KUBECTL) ## Create a workload cluster.
416416 # Get kubeconfig and store it locally.
417417 $(KUBECTL) get secret/$(CLUSTER_NAME)-kubeconfig -n default -o json | jq -r .data.value | base64 --decode > ./kubeconfig
418418 # TODO: Standardize timeouts across the Makefile and make them configurable based on the job.
419- $(KUBECTL) -n default wait --for=condition=Ready --timeout=60m cluster "$(CLUSTER_NAME)"
419+ $(KUBECTL) -n default wait --for=condition=Ready --timeout=60m clusters.v1beta1. cluster.x-k8s.io "$(CLUSTER_NAME)"
420420
421421 # Set the namespace to `default` b/c when the service account is auto mounted, the namespace is changed to `test-pods`.
422422 $(KUBECTL) --kubeconfig=./kubeconfig config set-context --current --namespace="default"
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ if [[ ! "${CLUSTER_TEMPLATE}" =~ "aks" ]]; then
251251 install_addons
252252fi
253253
254- " ${KUBECTL} " --kubeconfig " ${REPO_ROOT} /${KIND_CLUSTER_NAME} .kubeconfig" wait -A --for=condition=Ready --timeout=10m -l " cluster.x-k8s.io/cluster-name=${CLUSTER_NAME} " machinedeployments, machinepools
254+ " ${KUBECTL} " --kubeconfig " ${REPO_ROOT} /${KIND_CLUSTER_NAME} .kubeconfig" wait -A --for=condition=Ready --timeout=10m -l " cluster.x-k8s.io/cluster-name=${CLUSTER_NAME} " machinepools.v1beta1.cluster.x-k8s.io,machinedeployments.v1beta1.cluster.x-k8s.io
255255
256256echo " Cluster ${CLUSTER_NAME} created and fully operational"
257257
You can’t perform that action at this time.
0 commit comments