From c75de4e39f01658d000d5ceaf49916f3c4b3a6c9 Mon Sep 17 00:00:00 2001 From: Daniel Nardo Date: Fri, 23 Jun 2017 14:47:49 -0700 Subject: [PATCH] Use a different env var to enable the ip-masq-agent addon. We shouldn't mix setting the non-masq-cidr with enabling the addon. --- cluster/gce/gci/configure-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/gce/gci/configure-helper.sh b/cluster/gce/gci/configure-helper.sh index b05637957bd..cf108483925 100644 --- a/cluster/gce/gci/configure-helper.sh +++ b/cluster/gce/gci/configure-helper.sh @@ -1708,7 +1708,7 @@ function start-kube-addons { if [[ "${ENABLE_DEFAULT_STORAGE_CLASS:-}" == "true" ]]; then setup-addon-manifests "addons" "storage-class/gce" fi - if [[ "${NON_MASQUERADE_CIDR:-}" == "0.0.0.0/0" ]]; then + if [[ "${ENABLE_IP_MASQ_AGENT:-}" == "true" ]]; then setup-addon-manifests "addons" "ip-masq-agent" fi if [[ "${ENABLE_METADATA_PROXY:-}" == "simple" ]]; then