[COMMON] Update _mariadb.tpl to use the proper db
[oom.git] / kubernetes / common / common / templates / _mariadb.tpl
index 1be3e3b..5021c50 100644 (file)
@@ -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 -}}