From 0750eaf5330641e8b28bf9ab2307f91cb11e34af Mon Sep 17 00:00:00 2001 From: Zach Loafman Date: Wed, 20 Jul 2016 10:50:34 -0700 Subject: [PATCH] AWS kube-up: Fix unbound KUBE_MANIFESTS_TAR_URL variable in Salt config It shouldn't be necessary for all distros to define this env variable. --- cluster/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/common.sh b/cluster/common.sh index 0f5d8209f5..2a0812829d 100755 --- a/cluster/common.sh +++ b/cluster/common.sh @@ -517,7 +517,7 @@ function build-kube-env { local server_binary_tar_url=$SERVER_BINARY_TAR_URL local salt_tar_url=$SALT_TAR_URL - local kube_manifests_tar_url=$KUBE_MANIFESTS_TAR_URL + local kube_manifests_tar_url="${KUBE_MANIFESTS_TAR_URL:-}" if [[ "${master}" == "true" && "${MASTER_OS_DISTRIBUTION}" == "coreos" ]] || \ [[ "${master}" == "false" && "${NODE_OS_DISTRIBUTION}" == "coreos" ]] ; then # TODO: Support fallback .tar.gz settings on CoreOS