Commit 2059a7c3 authored by Michael Nikitochkin's avatar Michael Nikitochkin

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.
parent 0be54ae7
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment