Merge pull request #101255 from basantsa1989/stack-type

Adding stack-type to gce cloud config (to be used for dual stack in legacy-cloud-providers gce code)
This commit is contained in:
Kubernetes Prow Robot 2021-04-22 15:55:28 -07:00 committed by GitHub
commit ae35c6f10c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -819,6 +819,12 @@ EOF
use_cloud_config="true"
cat <<EOF >>/etc/gce.conf
network-project-id = ${NETWORK_PROJECT_ID}
EOF
fi
if [[ -n "${STACK_TYPE:-}" ]]; then
use_cloud_config="true"
cat <<EOF >>/etc/gce.conf
stack-type = ${STACK_TYPE}
EOF
fi
if [[ -n "${NODE_NETWORK:-}" ]]; then