From 10ce8e2c0d3103c2b3571e212c064b849886323f Mon Sep 17 00:00:00 2001 From: gmarek Date: Wed, 28 Jun 2017 14:27:52 +0200 Subject: [PATCH] Fix bug cluster-subnet logic --- cluster/gce/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/gce/util.sh b/cluster/gce/util.sh index 3c281f60eeb..e384ca336d8 100755 --- a/cluster/gce/util.sh +++ b/cluster/gce/util.sh @@ -510,7 +510,7 @@ function make-gcloud-network-argument() { ret="${ret},aliases=pods-default:${alias_size}" ret="${ret} --no-can-ip-forward" else - if [[ ${PREEXISTING_NETWORK} = "true" && "${PREEXISTING_NETWORK_MODE}" != "custom" ]]; then + if [[ ${ENABLE_BIG_CLUSTER_SUBNETS} != "true" || (${PREEXISTING_NETWORK} = "true" && "${PREEXISTING_NETWORK_MODE}" != "custom") ]]; then ret="--network ${network}" else ret="--subnet=${network}"