Skip to content

Commit d1cc270

Browse files
committed
local-up-cluster: only wait for coredns if enabled
1 parent a27498e commit d1cc270

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hack/local-up-cluster.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,9 @@ if [[ "${START_MODE}" != "kubeletonly" ]]; then
14301430
;;
14311431
Linux)
14321432
start_kubeproxy
1433-
wait_coredns_available
1433+
if [[ "${ENABLE_CLUSTER_DNS}" = true ]]; then
1434+
wait_coredns_available
1435+
fi
14341436
;;
14351437
*)
14361438
print_color "Unsupported host OS. Must be Linux or Mac OS X, kube-proxy aborted."

0 commit comments

Comments
 (0)