mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-11 09:53:38 -04: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:
parent
356be5ae30
commit
6e1875fac9
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue