[OOF] Use the common mariadb-galera instance 02/121902/10
authorMahmoud Abdelhamid <mahmoud.abdelhamid@orange.com>
Sun, 13 Jun 2021 12:21:42 +0000 (14:21 +0200)
committerMahmoud Abdelhamid <mahmoud.abdelhamid@orange.com>
Mon, 21 Jun 2021 10:06:29 +0000 (10:06 +0000)
commit468f3bf44b093f9b2f66addd1e6616be2d956802
treee0d931a2426744e4f7f5c274e5e9ad65578f00fb
parentdfa07dd296a1dc781cb97b7c6c8314ea8a2fc855
[OOF] Use the common mariadb-galera instance

Updates for OOF CMSO:
- Add section under (.Values.global) for shared mariadb instance with a
condition to instantiate local instance.
- Use a hook to send mariadb info to oof-csmo-service and
oof-csmo-optimizer
- Add condition under (requirments.yaml) to install local mariadb
instance
- Update oof-cmso-service and oof-cmso-optimizer (.Values) files to
accomodate for local mariadb instance
- Update oof-cmso-service and oof-cmso-optimizer deployments to use the
templates defined under (templates/_mariadb.tpl)

Issue-ID: OOM-2769
Signed-off-by: Mahmoud Abdelhamid <mahmoud.abdelhamid@orange.com>
Change-Id: I59e6c98ae992faafd363c5f97e18bf631f9c4d4e
kubernetes/oof/components/oof-cmso/components/oof-cmso-optimizer/templates/deployment.yaml
kubernetes/oof/components/oof-cmso/components/oof-cmso-optimizer/values.yaml
kubernetes/oof/components/oof-cmso/components/oof-cmso-service/templates/deployment.yaml
kubernetes/oof/components/oof-cmso/components/oof-cmso-service/values.yaml
kubernetes/oof/components/oof-cmso/requirements.yaml
kubernetes/oof/components/oof-cmso/values.yaml