mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Add secondary-range-name
to the gce.conf
This commit is contained in:
parent
44c5182187
commit
1aeebcf6d3
@ -270,6 +270,12 @@ EOF
|
||||
use_cloud_config="true"
|
||||
cat <<EOF >>/etc/gce.conf
|
||||
alpha-features = ${GCE_ALPHA_FEATURES}
|
||||
EOF
|
||||
fi
|
||||
if [[ -n "${SECONDARY_RANGE_NAME:-}" ]]; then
|
||||
use_cloud_config="true"
|
||||
cat <<EOF >> /etc/gce.conf
|
||||
secondary-range-name = ${SECONDARY-RANGE-NAME}
|
||||
EOF
|
||||
fi
|
||||
if [[ "${use_cloud_config}" != "true" ]]; then
|
||||
|
@ -430,6 +430,12 @@ EOF
|
||||
use_cloud_config="true"
|
||||
cat <<EOF >>/etc/gce.conf
|
||||
alpha-features = ${GCE_ALPHA_FEATURES}
|
||||
EOF
|
||||
fi
|
||||
if [[ -n "${SECONDARY_RANGE_NAME:-}" ]]; then
|
||||
use_cloud_config="true"
|
||||
cat <<EOF >> /etc/gce.conf
|
||||
secondary-range-name = ${SECONDARY-RANGE-NAME}
|
||||
EOF
|
||||
fi
|
||||
if [[ "${use_cloud_config}" != "true" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user