mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
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:
commit
ae35c6f10c
@ -819,6 +819,12 @@ EOF
|
|||||||
use_cloud_config="true"
|
use_cloud_config="true"
|
||||||
cat <<EOF >>/etc/gce.conf
|
cat <<EOF >>/etc/gce.conf
|
||||||
network-project-id = ${NETWORK_PROJECT_ID}
|
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
|
EOF
|
||||||
fi
|
fi
|
||||||
if [[ -n "${NODE_NETWORK:-}" ]]; then
|
if [[ -n "${NODE_NETWORK:-}" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user