Skip to content

Commit

Permalink
Escaping password
Browse files Browse the repository at this point in the history
To handle potential of having semicolon (or other reserved character) in generated password
  • Loading branch information
blaskoa committed Nov 8, 2023
1 parent 8c2a043 commit 576e9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/_configurations.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Template used for adding database configuration to containers
name: "{{ .Release.Name }}-postgresql"
key: "postgres-password"
- name: "ConnectionStrings__CoreDbContext"
value: "Server=$(DB_HOST);Database=$(DB_DATABASE);Username=$(DB_USER);Password=$(DB_PASSWORD);"
value: "Server=$(DB_HOST);Database=$(DB_DATABASE);Username=$(DB_USER);Password='$(DB_PASSWORD)';"
{{- else }}
- name: "ConnectionStrings__CoreDbContext"
valueFrom:
Expand Down

0 comments on commit 576e9d8

Please sign in to comment.