mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 23:57:49 +00:00
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
This commit is contained in:
commit
30a2d7c4dc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user