Commit 30a2d7c4 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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
parents 017e61c7 3d878564
...@@ -778,7 +778,7 @@ function create-subnetworks() { ...@@ -778,7 +778,7 @@ function create-subnetworks() {
--network ${NETWORK} \ --network ${NETWORK} \
--region ${REGION} \ --region ${REGION} \
--range ${NODE_IP_RANGE} \ --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}" echo "Created subnetwork ${IP_ALIAS_SUBNETWORK}"
else else
if ! echo ${subnet} | grep --quiet secondaryIpRanges ${subnet}; then if ! echo ${subnet} | grep --quiet secondaryIpRanges ${subnet}; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment