add config-vm flag to enable terminated pod garbage collection.

This commit is contained in:
Mike Danese
2015-10-09 09:55:49 -07:00
parent 407f9b9e42
commit ef015c3574
4 changed files with 18 additions and 1 deletions

View File

@@ -322,6 +322,11 @@ EOF
if [ -n "${ENABLE_EXPERIMENTAL_API:-}" ]; then
cat <<EOF >>/srv/salt-overlay/pillar/cluster-params.sls
enable_experimental_api: '$(echo "$ENABLE_EXPERIMENTAL_API" | sed -e "s/'/''/g")'
EOF
fi
if [ -n "${TERMINATED_POD_GC_THRESHOLD:-}" ]; then
cat <<EOF >>/srv/salt-overlay/pillar/cluster-params.sls
terminated_pod_gc_threshold: '$(echo "${TERMINATED_POD_GC_THRESHOLD}" | sed -e "s/'/''/g")'
EOF
fi
}