Merge pull request #46552 from bowei/gcloud-beta

Automatic merge from submit-queue

gcloud command syntax changed between alpha and beta versions

syntax for secondary-ranges changed from:
  name=NAME,range=RANGE
to
  NAME=RANGE
pull/6/head
Kubernetes Submit Queue 2017-05-30 08:33:46 -07:00 committed by GitHub
commit 30a2d7c4dc
1 changed files with 1 additions and 1 deletions

View File

@ -778,7 +778,7 @@ function create-subnetworks() {
--network ${NETWORK} \
--region ${REGION} \
--range ${NODE_IP_RANGE} \
--secondary-range "name=pods-default,range=${CLUSTER_IP_RANGE}"
--secondary-range "pods-default=${CLUSTER_IP_RANGE}"
echo "Created subnetwork ${IP_ALIAS_SUBNETWORK}"
else
if ! echo ${subnet} | grep --quiet secondaryIpRanges ${subnet}; then