From e9c7c96c9099c2834d41bcf3f79e53fcf0de0bc4 Mon Sep 17 00:00:00 2001 From: Mahmoud Abdelhamid Date: Tue, 4 May 2021 16:54:08 +0200 Subject: [PATCH] [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 --- kubernetes/common/common/templates/_mariadb.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -}} -- 2.16.6