[CLAMP] Allow to use ' in clamp mariadb passwords 42/109542/2
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Mon, 25 May 2020 20:22:33 +0000 (22:22 +0200)
committerxuegao <xg353y@intl.att.com>
Thu, 25 Jun 2020 10:18:33 +0000 (12:18 +0200)
commit61af292060d9ddd52f8ac473fe2640e147a416f4
treeda953792e040b14bb8ef3210a1e47740e3dfaba7
parentb34e3c934d38900c2137b94d15835621aefcf113
[CLAMP] Allow to use ' in clamp mariadb 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: CLAMP-878
Reported-by: Fiachra Corcoran <fiachra.corcoran@est.tech>
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I0423b0eaecf7cc16892c10b14881c4d09a24a1d0
Signed-off-by: xuegao <xg353y@intl.att.com>
kubernetes/clamp/charts/mariadb/resources/config/init/docker-entrypoint.sh [new file with mode: 0755]
kubernetes/clamp/charts/mariadb/templates/configmap.yaml
kubernetes/clamp/charts/mariadb/templates/deployment.yaml