From ff44cd113a3d356987827b333df7cd00e8d51df0 Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Mon, 19 Oct 2015 22:14:13 -0400 Subject: [PATCH] AWS: Wire-up ENABLE_DEPLOYMENT env var The AWS equivalent of a558fca24b63b635641486b04c645a7d1a58b6c7 --- cluster/aws/util.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cluster/aws/util.sh b/cluster/aws/util.sh index c82cc578ec3..16a1a5cd7d4 100755 --- a/cluster/aws/util.sh +++ b/cluster/aws/util.sh @@ -452,6 +452,13 @@ function verify-prereqs { fi fi fi + if [[ "${ENABLE_DEPLOYMENTS}" == "true" ]]; then + if [[ -z "${RUNTIME_CONFIG}" ]]; then + RUNTIME_CONFIG="extensions/v1beta1/deployments=true" + else + RUNTIME_CONFIG="${RUNTIME_CONFIG},extensions/v1beta1/deployments=true" + fi + fi if [[ "$(which aws)" == "" ]]; then echo "Can't find aws in PATH, please fix and retry."