mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 03:03:59 +00:00
Merge pull request #17337 from bigeasy/aws-runtime_config
Auto commit by PR queue bot
This commit is contained in:
commit
d8ee518859
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user