[NBI] Use the common galera cluster of ONAP 85/98185/21
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 8 Nov 2019 14:27:20 +0000 (15:27 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 2 Dec 2019 15:05:33 +0000 (16:05 +0100)
commit1d061a4c38432c7d75c4adfa10b9a0786fa6ed5f
tree12ebb94982988ce675492d93d8e8082e4b715b88
parent5bdb14011023be31471622a92b98493a04da0281
[NBI] Use the common galera cluster of ONAP

Instead of having our "own" galera cluster, use the common one already
proposed by OOM.
If a local cluster is needed, you just need to set
global.mariadbGalera.localCluster to True.

Also create a common chart that create the needed values for the
database.

Change-Id: I9ad551b76a40732b4ab3fc34ba7cde6ca90fe432
Issue-ID: EXTAPI-348
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
20 files changed:
.gitignore
kubernetes/common/common/templates/_mariadb.tpl [new file with mode: 0644]
kubernetes/common/common/templates/_name.tpl
kubernetes/common/mariadb-init/.helmignore [new file with mode: 0644]
kubernetes/common/mariadb-init/Chart.yaml [new file with mode: 0644]
kubernetes/common/mariadb-init/requirements.yaml [new file with mode: 0644]
kubernetes/common/mariadb-init/resources/config/db_init.sh [new file with mode: 0755]
kubernetes/common/mariadb-init/templates/_configmap.tpl [new file with mode: 0644]
kubernetes/common/mariadb-init/templates/_mariadb.tpl [new file with mode: 0644]
kubernetes/common/mariadb-init/templates/configmap.yaml [new file with mode: 0644]
kubernetes/common/mariadb-init/templates/job.yaml [new file with mode: 0644]
kubernetes/common/mariadb-init/templates/secret.yaml [moved from kubernetes/nbi/templates/secrets.yaml with 76% similarity]
kubernetes/common/mariadb-init/tests/configmap_test.yaml [new file with mode: 0644]
kubernetes/common/mariadb-init/tests/job_test.yaml [new file with mode: 0644]
kubernetes/common/mariadb-init/tests/secret_test.yaml [new file with mode: 0644]
kubernetes/common/mariadb-init/values.yaml [new file with mode: 0644]
kubernetes/nbi/requirements.yaml
kubernetes/nbi/templates/deployment.yaml
kubernetes/nbi/tests/deployment_test.yaml [new file with mode: 0644]
kubernetes/nbi/values.yaml