mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
Set GCE_ALPHA_FEATURES environment variable in gce.conf
This commit is contained in:
parent
6858bb4e60
commit
ab07115ff2
@ -264,6 +264,12 @@ EOF
|
|||||||
use_cloud_config="true"
|
use_cloud_config="true"
|
||||||
cat <<EOF >>/etc/gce.conf
|
cat <<EOF >>/etc/gce.conf
|
||||||
multizone = ${MULTIZONE}
|
multizone = ${MULTIZONE}
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
if [[ -n "${GCE_ALPHA_FEATURES:-}" ]]; then
|
||||||
|
use_cloud_config="true"
|
||||||
|
cat <<EOF >>/etc/gce.conf
|
||||||
|
alpha-features = ${GCE_ALPHA_FEATURES}
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
if [[ "${use_cloud_config}" != "true" ]]; then
|
if [[ "${use_cloud_config}" != "true" ]]; then
|
||||||
|
@ -425,6 +425,12 @@ EOF
|
|||||||
use_cloud_config="true"
|
use_cloud_config="true"
|
||||||
cat <<EOF >>/etc/gce.conf
|
cat <<EOF >>/etc/gce.conf
|
||||||
multizone = ${MULTIZONE}
|
multizone = ${MULTIZONE}
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
if [[ -n "${GCE_ALPHA_FEATURES:-}" ]]; then
|
||||||
|
use_cloud_config="true"
|
||||||
|
cat <<EOF >>/etc/gce.conf
|
||||||
|
alpha-features = ${GCE_ALPHA_FEATURES}
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
if [[ "${use_cloud_config}" != "true" ]]; then
|
if [[ "${use_cloud_config}" != "true" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user