mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +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} \
|
--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