Skip to content

Commit

Permalink
fix: use quote
Browse files Browse the repository at this point in the history
Co-authored-by: ArkBriar <[email protected]>
  • Loading branch information
edeesis and arkbriar authored Nov 19, 2024
1 parent 32b05c8 commit f080dcd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ spec:
psql -h $PG_HOSTNAME -p $PG_PORT -v ON_ERROR_STOP=1 --username root --dbname "$PG_DATABASE" <<-EOSQL
{{- range $db := .Values.databases }}
CREATE DATABASE IF NOT EXISTS "{{ $db }}";
CREATE DATABASE IF NOT EXISTS {{ $db | quote }};
{{- end }}
EOSQL
echo "Created databases {{ join "," .Values.databases }}"
Expand Down

0 comments on commit f080dcd

Please sign in to comment.