mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #51827 from bowei/2ndary-range-name
Automatic merge from submit-queue (batch tested with PRs 51682, 51546, 51369, 50924, 51827) Add `secondary-range-name` to the gce.conf ```release-note NONE ```
This commit is contained in:
commit
53ee4397e7
@ -234,6 +234,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
|
||||
|
@ -394,6 +394,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