mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-01-27 10:19:35 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user