Update 90-config_yaml.sh

This commit is contained in:
Alexandre
2022-02-17 17:27:56 +01:00
committed by GitHub
parent a20ee1e5bd
commit b3d6e4b7a2

View File

@@ -81,7 +81,7 @@ while IFS= read -r line; do
# Get text
secret=$(sed -n "/$secret:/p" /config/secrets.yaml)
secret=${secret#*: }
line="${line%%=*}=$secret"
line="${line%%=*}='$secret'"
fi
# Data validation
if [[ $line =~ ^.+[=].+$ ]]; then