[COMMON][MARIADB] Upgrade Mariadb DB galera version

Mariadb DB Galera containers version is outdated and unmaintained. We
need them to move to a new image provider.
As new image provider is not compatible with our old templates, we
also update the templates (by reworking bitnami mariadb-galera chart).
An update of global mariadb image is also done in order to match mariadb
galera version.

Issue-ID: OOM-1720
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Ib9976227759e90022183d4f37fc655143be4d6ac
diff --git a/kubernetes/oof/components/oof-cmso/values.yaml b/kubernetes/oof/components/oof-cmso/values.yaml
index 7405c48..c574a86 100644
--- a/kubernetes/oof/components/oof-cmso/values.yaml
+++ b/kubernetes/oof/components/oof-cmso/values.yaml
@@ -39,24 +39,17 @@
 
 mariadb-galera:
   replicaCount: 1
-  nameOverride: &containerName cmso-db
-  service:
-    type: ClusterIP
-    name: &serviceName oof-cmso-dbhost
-    portName: cmso-dbhost
+  nameOverride: &dbName cmso-db
   nfsprovisionerPrefix: cmso
   sdnctlPrefix: cmso
   persistence:
     mountSubPath: cmso/data
     enabled: true
   disableNfsProvisioner: true
-  config:
-    mariadbRootPasswordExternalSecret: *rootPassword
-    #    userCredentialsExternalSecret: *dbCreds
-    #    mysqlDatabase: cmso
-  externalConfig: |
-    [mysqld]
-    lower_case_table_names = 1
+  rootUser:
+    externalSecret: *rootPassword
+  serviceAccount:
+    nameOverride: *dbName
 
 global:
   commonConfigPrefix: "oof-cmso"
@@ -67,8 +60,8 @@
 
 mariadb-init:
   mariadbGalera:
-    containerName: *containerName
-    serviceName: *serviceName
+    containerName: *dbName
+    serviceName: *dbName
     servicePort: 3306
     userRootSecret: *rootPassword
   config:
@@ -119,8 +112,8 @@
   config:
     db:
       userCredentialsExternalSecret: *serviceDbCreds
-      host: oof-cmso-dbhost
-      container: cmso-db
+      host: *dbName
+      container: *dbName
       mysqlDatabase: cmso
 
 oof-cmso-optimizer:
@@ -132,8 +125,8 @@
     enabled: true
     db:
       userCredentialsExternalSecret: *optimizerDbCreds
-      host: oof-cmso-dbhost
-      container: cmso-db
+      host: *dbName
+      container: *dbName
       mysqlDatabase: optimizer
 
 oof-cmso-topology: