mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +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}
|
||||
if [[ -n "${value}" ]]; then
|
||||
# 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")'
|
||||
EOF
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user