From: Mahmoud Abdelhamid Date: Tue, 4 May 2021 14:54:08 +0000 (+0200) Subject: [COMMON] Update _mariadb.tpl to use the proper db X-Git-Tag: 9.0.0~266^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=e9c7c96c9099c2834d41bcf3f79e53fcf0de0bc4;hp=6c8fddaf607bd9e14621090ca090b38776ee03c8;p=oom.git [COMMON] Update _mariadb.tpl to use the proper db Update common.mariadbService definition under _mariadb.tpl to use the proper name of DB in case of local installation Issue-ID: OOM-2736 Signed-off-by: Mahmoud Abdelhamid Change-Id: I454915d493f692076eadbf6ccd69c2d93f36ffc4 --- diff --git a/kubernetes/common/common/templates/_mariadb.tpl b/kubernetes/common/common/templates/_mariadb.tpl index 1be3e3b790..5021c500b0 100644 --- a/kubernetes/common/common/templates/_mariadb.tpl +++ b/kubernetes/common/common/templates/_mariadb.tpl @@ -63,7 +63,7 @@ */}} {{- define "common.mariadbService" -}} {{- if .Values.global.mariadbGalera.localCluster -}} - {{- index .Values "mariadb-galera" "service" "name" -}} + {{- index .Values "mariadb-galera" "nameOverride" -}} {{- else -}} {{- .Values.global.mariadbGalera.service -}} {{- end -}}