mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-28 13:45:50 +00:00
Allow metadata firewall & proxy on in GCE, off by default
This commit is contained in:
@@ -194,9 +194,8 @@ if [[ ${NETWORK_POLICY_PROVIDER:-} == "calico" ]]; then
|
||||
NODE_LABELS="$NODE_LABELS,projectcalico.org/ds-ready=true"
|
||||
fi
|
||||
|
||||
# Turn the simple metadata proxy on by default.
|
||||
ENABLE_METADATA_PROXY="${ENABLE_METADATA_PROXY:-simple}"
|
||||
if [[ ${ENABLE_METADATA_PROXY} != "false" ]]; then
|
||||
# Apply the right node label if metadata proxy is on.
|
||||
if [[ ${ENABLE_METADATA_PROXY:-} == "simple" ]]; then
|
||||
NODE_LABELS="${NODE_LABELS},beta.kubernetes.io/metadata-proxy-ready=true"
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user