diff options
author | Mahmoud Abdelhamid <mahmoud.abdelhamid@orange.com> | 2021-05-04 16:54:08 +0200 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-05-07 05:11:18 +0000 |
commit | e9c7c96c9099c2834d41bcf3f79e53fcf0de0bc4 (patch) | |
tree | b10c915843a9ac464b40d4dd867fde9cb4770177 | |
parent | 6c8fddaf607bd9e14621090ca090b38776ee03c8 (diff) |
[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 <mahmoud.abdelhamid@orange.com>
Change-Id: I454915d493f692076eadbf6ccd69c2d93f36ffc4
-rw-r--r-- | kubernetes/common/common/templates/_mariadb.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
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 -}} |