summaryrefslogtreecommitdiffstats
path: root/kubernetes/oof/components
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-12-17 11:28:20 +0000
committerGerrit Code Review <gerrit@onap.org>2020-12-17 11:28:20 +0000
commit79185b609b107b7e626973a026d2898c9d5534c8 (patch)
tree026b97705937892e8e65f52aceb0fe02d435ec6a /kubernetes/oof/components
parent4262ecf0a03d7e46459d1998649a54d1b2e380d7 (diff)
parent93a5b49185695a7960ada82f5899265b5bc2e504 (diff)
Merge "[COMMON][MARIADB] Upgrade Mariadb DB galera version"
Diffstat (limited to 'kubernetes/oof/components')
-rw-r--r--kubernetes/oof/components/oof-cmso/values.yaml29
1 files changed, 11 insertions, 18 deletions
diff --git a/kubernetes/oof/components/oof-cmso/values.yaml b/kubernetes/oof/components/oof-cmso/values.yaml
index 7405c487c4..c574a86136 100644
--- a/kubernetes/oof/components/oof-cmso/values.yaml
+++ b/kubernetes/oof/components/oof-cmso/values.yaml
@@ -39,24 +39,17 @@ secrets:
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 @@ global:
mariadb-init:
mariadbGalera:
- containerName: *containerName
- serviceName: *serviceName
+ containerName: *dbName
+ serviceName: *dbName
servicePort: 3306
userRootSecret: *rootPassword
config:
@@ -119,8 +112,8 @@ oof-cmso-service:
config:
db:
userCredentialsExternalSecret: *serviceDbCreds
- host: oof-cmso-dbhost
- container: cmso-db
+ host: *dbName
+ container: *dbName
mysqlDatabase: cmso
oof-cmso-optimizer:
@@ -132,8 +125,8 @@ oof-cmso-optimizer:
enabled: true
db:
userCredentialsExternalSecret: *optimizerDbCreds
- host: oof-cmso-dbhost
- container: cmso-db
+ host: *dbName
+ container: *dbName
mysqlDatabase: optimizer
oof-cmso-topology: