diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2023-09-21 14:54:52 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-09-21 14:54:52 +0000 |
commit | b78a6142f4714995c58825ea18d59f606c4febb4 (patch) | |
tree | fcb647320e17cd2b6396e44366c1a15ae76ee077 /kubernetes/sdnc/values.yaml | |
parent | 1ee2b57a550ace45691704f861dd71d100639818 (diff) | |
parent | 4e1f84c35b578d9c86898d324041c572305ff125 (diff) |
Merge "[SDNC] Change SDNR DB from elasticsearch to maria DB"
Diffstat (limited to 'kubernetes/sdnc/values.yaml')
-rw-r--r-- | kubernetes/sdnc/values.yaml | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/kubernetes/sdnc/values.yaml b/kubernetes/sdnc/values.yaml index 9a00798545..e35dfde593 100644 --- a/kubernetes/sdnc/values.yaml +++ b/kubernetes/sdnc/values.yaml @@ -177,6 +177,11 @@ secrets: type: basicAuth login: '{{ .Values.config.sdnr.vesCollector.username }}' password: '{{ .Values.config.sdnr.vesCollector.password }}' + - uid: sdnrdb-secret + name: &sdnrdbSecretName '{{ include "common.release" . }}-sdnc-sdnrdb-secret' + type: basicAuth + login: '{{ index .Values "config" "sdnr" "mariadb" "user" }}' + password: '{{ index .Values "config" "sdnr" "mariadb" "password" }}' ################################################################# # Certificates ################################################################# @@ -316,6 +321,19 @@ config: # sdnronly: true starts sdnc container with odl and sdnrwt features only sdnronly: false sdnrdbTrustAllCerts: true + elasticsearch: + ## for legacy eleasticsearch database + # enabled: &esdbenabled true + enabled: &esdbenabled false + mariadb: + ## for legacy eleasticsearch database + # enabled: false + enabled: true + databaseName: sdnrdb + user: sdnrdb + externalSecret: *sdnrdbSecretName + asyncHandling: true + asyncPoolSize: 200 kafka: enabled: false consumerGroupPrefix: &consumerGroupPrefix sdnr @@ -401,7 +419,7 @@ mariadb-galera: &mariadbGalera user: *dbUser externalSecret: *dbSecretName service: - name: sdnc-dbhost + name: sdnc-db sdnctlPrefix: sdnc persistence: mountSubPath: sdnc/mariadb-galera @@ -495,6 +513,7 @@ dgbuilder: # local elasticsearch cluster localElasticCluster: true elasticsearch: + enabled: *esdbenabled nameOverride: &elasticSearchName sdnrdb name: sdnrdb-cluster service: |