Enable metadata concealment for tests

This commit is contained in:
Isaac Hollander McCreery
2017-10-12 14:36:38 -07:00
parent f1b17e8896
commit 3ee03fd033
5 changed files with 20 additions and 20 deletions

View File

@@ -752,14 +752,9 @@ EOF
ENABLE_CUSTOM_METRICS: $(yaml-quote ${ENABLE_CUSTOM_METRICS})
EOF
fi
if [ -n "${ENABLE_METADATA_PROXY:-}" ]; then
if [ -n "${ENABLE_METADATA_CONCEALMENT:-}" ]; then
cat >>$file <<EOF
ENABLE_METADATA_PROXY: $(yaml-quote ${ENABLE_METADATA_PROXY})
EOF
fi
if [ -n "${KUBE_FIREWALL_METADATA_SERVER:-}" ]; then
cat >>$file <<EOF
KUBE_FIREWALL_METADATA_SERVER: $(yaml-quote ${KUBE_FIREWALL_METADATA_SERVER})
ENABLE_METADATA_CONCEALMENT: $(yaml-quote ${ENABLE_METADATA_CONCEALMENT})
EOF
fi
if [ -n "${FEATURE_GATES:-}" ]; then