Commit d8ee5188 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #17337 from bigeasy/aws-runtime_config

Auto commit by PR queue bot
parents 78065063 c1c789ae
...@@ -33,7 +33,7 @@ function env_to_salt { ...@@ -33,7 +33,7 @@ function env_to_salt {
local value=${!env_key} local value=${!env_key}
if [[ -n "${value}" ]]; then if [[ -n "${value}" ]]; then
# Note this is yaml, so indentation matters # Note this is yaml, so indentation matters
cat <<EOF # >>/etc/salt/minion.d/grains.conf cat <<EOF >>/etc/salt/minion.d/grains.conf
${key}: '$(echo "${value}" | sed -e "s/'/''/g")' ${key}: '$(echo "${value}" | sed -e "s/'/''/g")'
EOF EOF
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment