[NBI] Don't hardcode mariadb-galera password 85/101385/3
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Fri, 7 Feb 2020 14:49:54 +0000 (15:49 +0100)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Fri, 7 Feb 2020 16:11:24 +0000 (17:11 +0100)
commite383b3255e8c26f76d97dc33214c1e4f25c6aa6f
tree60f0f09c2463b973bef48f9fd1d8f8e0bbf34772
parent0c458968744127785300aa32345b64be882f93bb
[NBI] Don't hardcode mariadb-galera password

Let's use common secret template to generate user credentials for NBI
DB and depend on mariadb-galera to generate secure enough root
password.

BTW.
Don't be surprised for now mariadb-galera has a hardcoded root
password but as soon as we move all charts that use it to common
secret template it will be auto generated.

Issue-ID: OOM-2291
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I5d16f6c26aa63a46db98ba3dab3a76267b4049f1
kubernetes/nbi/templates/deployment.yaml
kubernetes/nbi/templates/secret.yaml [new file with mode: 0644]
kubernetes/nbi/values.yaml