mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
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:
parent
e903c58c9e
commit
3d8785648e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user