Skip to content

Commit

Permalink
fix: escape auto_database_uri function call in cat <<EOF in deplo…
Browse files Browse the repository at this point in the history
…y function

Signed-off-by: Siddharth Tiwari <[email protected]>
  • Loading branch information
opencloudengineer committed Jan 19, 2021
1 parent 915c859 commit d09a40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ EOF
source <(
cat <<EOF
if [[ \${${i^^}_ENABLED} == "true" ]]; then
${i}_uri=$(auto_database_uri "${i}")
${i}_uri=\$(auto_database_uri "${i}")
export ${i}_uri;
elif [[ -v ${i^^}_URI ]]; then
# if *DB_URI is passed by user then set it in pod
Expand Down

0 comments on commit d09a40f

Please sign in to comment.