mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #54199 from jingax10/fix_scripts_branch
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix typos: replace SECONDARY-RANGE-NAME with SECONDARY_RANGE_NAME. **What this PR does / why we need it**: Without the fix, secondary_range_name in /etc/gce.conf in node will always be empty. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
This commit is contained in:
commit
831810145a
@ -239,7 +239,7 @@ EOF
|
||||
if [[ -n "${SECONDARY_RANGE_NAME:-}" ]]; then
|
||||
use_cloud_config="true"
|
||||
cat <<EOF >> /etc/gce.conf
|
||||
secondary-range-name = ${SECONDARY-RANGE-NAME}
|
||||
secondary-range-name = ${SECONDARY_RANGE_NAME}
|
||||
EOF
|
||||
fi
|
||||
if [[ "${use_cloud_config}" != "true" ]]; then
|
||||
|
@ -405,7 +405,7 @@ EOF
|
||||
if [[ -n "${SECONDARY_RANGE_NAME:-}" ]]; then
|
||||
use_cloud_config="true"
|
||||
cat <<EOF >> /etc/gce.conf
|
||||
secondary-range-name = ${SECONDARY-RANGE-NAME}
|
||||
secondary-range-name = ${SECONDARY_RANGE_NAME}
|
||||
EOF
|
||||
fi
|
||||
if [[ "${use_cloud_config}" != "true" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user