Merge pull request #21 from simonwhitaker/simon/quote-ref

Quote $ref to avoid word splitting
This commit is contained in:
volodymyrZotov
2022-12-16 16:44:11 +02:00
committed by GitHub

View File

@@ -48,7 +48,7 @@ populating_secret() {
ref=$(printenv $1)
echo "Populating variable: $1"
secret_value=$(op read $ref)
secret_value=$(op read "$ref")
if [ -z "$secret_value" ]; then
echo "Could not find or access secret $ref"