mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
AWS: Load cluster env during the validation
There is an issue when I specified all env in `cluster/env.sh` And redefine `NUM_NODES`, than if it less than I have loop.
This commit is contained in:
parent
0be54ae771
commit
2059a7c3fa
@ -21,6 +21,11 @@ set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
||||
|
||||
if [ -f "${KUBE_ROOT}/cluster/env.sh" ]; then
|
||||
source "${KUBE_ROOT}/cluster/env.sh"
|
||||
fi
|
||||
|
||||
source "${KUBE_ROOT}/cluster/kube-env.sh"
|
||||
source "${KUBE_ROOT}/cluster/kube-util.sh"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user