diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-07-02 20:10:04 +0200 |
---|---|---|
committer | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-07-06 14:18:47 +0000 |
commit | 5ddae22b9767b8083def17fe580a6dfc40f7b5d9 (patch) | |
tree | d75de867ad98cb209395204e0f7a01fdc4938def /kubernetes/nbi/templates | |
parent | 9a684f1a990c7dfdf7e308bef00333e50164e624 (diff) |
[COMMON] Allow to use ' in mariadb-init
' is one of characters that are placed in passwords by our default
password generation algorith. As ' is a special character in SQL
we need to escape it before concatenating it with SQL command.
Let's also add set -e to fail if any of databases has not been created
Issue-ID: OOM-2436
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: Ida8c75639eaa4049e3f874d30666f1fe4dc02e12
(cherry picked from commit c5dac87fa301247928211d5944be22ae14bcd534)
Diffstat (limited to 'kubernetes/nbi/templates')
0 files changed, 0 insertions, 0 deletions