From 6e1875fac9402cb2b0ebe2fdd6d90bc4e3117b30 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Mon, 14 Jul 2025 19:58:44 +0200 Subject: [PATCH] local-up-cluster.sh: don't require to be invoked in the root It's normal for shell scripts to change the current directory if they expect to run in the repo root. --- hack/local-up-cluster.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/local-up-cluster.sh b/hack/local-up-cluster.sh index 584a4e2329e..fe6616f69ed 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -20,6 +20,7 @@ if (( KUBE_VERBOSE > 4 )); then fi KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. +cd "${KUBE_ROOT}" # This script builds and runs a local kubernetes cluster. You may need to run # this as root to allow kubelet to open containerd's socket, and to write the test