[SDNC] Use common secret template in ansible-server 02/102102/1
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Thu, 20 Feb 2020 20:29:45 +0000 (21:29 +0100)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Thu, 20 Feb 2020 23:42:24 +0000 (00:42 +0100)
commitb9d50c917cc9eb507483be32587f42d567c827dd
treee439c93c6c80a74ea2c23c2ac977e3c140547648
parent62cb98b8def94cd365d2f19b5daac596e546f5bb
[SDNC] Use common secret template in ansible-server

Whole SDNC strongly depends on the assumption that it is using a
common mariadb-galera instance and that root password is secret
password. Also user and password to sdnc DB is hardcoded.

Let's start working on removing this assumption and component by
component add support for local and shared mariadb instance without
hardcoding any passwords to the database.

In this patch all passwords are still hardcoded in the helm chart to
not break other parts of SDNC. Those values will be removed in a final patch.

Issue-ID: OOM-2309
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: Idb460e72301dd63082d7890d34fea923df3ac426
kubernetes/sdnc/charts/sdnc-ansible-server/resources/config/RestServer_config
kubernetes/sdnc/charts/sdnc-ansible-server/templates/deployment.yaml
kubernetes/sdnc/charts/sdnc-ansible-server/templates/secret.yaml [new file with mode: 0644]
kubernetes/sdnc/charts/sdnc-ansible-server/values.yaml