[COMMON] Allow to use ' in postgres passwords 01/108201/1
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Mon, 25 May 2020 13:38:48 +0000 (15:38 +0200)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Mon, 25 May 2020 13:38:48 +0000 (15:38 +0200)
commitb0a2d3b3628166dc2dba34a6984cc36b8f821fe0
tree991eaad0a5c5eb0fbceaf8182c5437886926701e
parent7cccd2a303d4f61dee5aa2ab5da701bd9e18fec8
[COMMON] Allow to use ' in postgres passwords

' is one of characters that are placed in passwords by our default
password generation algorith. As ' is a special character in SQL files
we need to escape it before substituting environment variables in .sql file.

Issue-ID: OOM-2317
Reported-by: Fiachra Corcoran <fiachra.corcoran@est.tech>
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I970eaf03fbcbfa8cb68df4a06ee27503d02d896a
kubernetes/common/postgres/templates/_deployment.tpl