[COMMON] Allow to use ' in postgres passwords 41/108241/1
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Mon, 25 May 2020 13:38:48 +0000 (15:38 +0200)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 26 May 2020 12:18:03 +0000 (12:18 +0000)
commit7cc76a79c1d2bd8f35270f9068070d13d4b65109
tree0debdaf76fee14a24b444c2d55da600cc2d1aa39
parent5cb53f1343db7f33c9df88ebbc6496603b273769
[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
(cherry picked from commit b0a2d3b3628166dc2dba34a6984cc36b8f821fe0)
kubernetes/common/postgres/templates/_deployment.tpl