mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
Adding stack-type to cloud config (to be used for dual stack in legacy-cloud-providers code)
This commit is contained in:
parent
bd67aeff26
commit
e15d811652
@ -818,6 +818,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
|
||||
|
Loading…
Reference in New Issue
Block a user