summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/network-name-gen/values.yaml
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/common/network-name-gen/values.yaml
parent4262ecf0a03d7e46459d1998649a54d1b2e380d7 (diff)
parent93a5b49185695a7960ada82f5899265b5bc2e504 (diff)
Merge "[COMMON][MARIADB] Upgrade Mariadb DB galera version"
Diffstat (limited to 'kubernetes/common/network-name-gen/values.yaml')
-rw-r--r--kubernetes/common/network-name-gen/values.yaml16
1 files changed, 10 insertions, 6 deletions
diff --git a/kubernetes/common/network-name-gen/values.yaml b/kubernetes/common/network-name-gen/values.yaml
index d38d6e25cd..d32c04511b 100644
--- a/kubernetes/common/network-name-gen/values.yaml
+++ b/kubernetes/common/network-name-gen/values.yaml
@@ -36,9 +36,9 @@ global:
#################################################################
secrets:
- uid: neng-db-secret
- name: '{{ include "common.release" . }}-neng-db-secret'
+ name: &dbUserSecretName '{{ include "common.release" . }}-neng-db-secret'
type: basicAuth
- externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
+ externalSecret: '{{ tpl (default "" .Values.config.db.externalSecret) . }}'
login: '{{ .Values.config.db.userName }}'
password: '{{ .Values.config.db.userPassword }}'
- uid: pol-basic-auth-secret
@@ -50,9 +50,11 @@ secrets:
# sub-chart config
mariadb-galera:
- config: &mariadbConfig
- userCredentialsExternalSecret: '{{ include "common.release" . }}-neng-db-secret'
- mysqlDatabase: nengdb
+ db:
+ user: sdnctl
+ # password:
+ externalSecret: *dbUserSecretName
+ name: &mysqlDbName nengdb
nameOverride: nengdb
service:
name: nengdb
@@ -63,7 +65,9 @@ mariadb-galera:
mountSubPath: network-name-gen/data
mariadb-init:
- config: *mariadbConfig
+ config:
+ userCredentialsExternalSecret: *dbUserSecretName
+ mysqlDatabase: *mysqlDbName
nameOverride: nengdb-init
#################################################################