summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mariadb-init/templates/_mariadb.tpl
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-01-07 12:44:39 +0000
committerGerrit Code Review <gerrit@onap.org>2020-01-07 12:44:39 +0000
commited0ae6bbf72985a50332a34b147a3bd2c6b25a11 (patch)
treea751a743265fcb6608a8fdddbeecc0b37e94117a /kubernetes/common/mariadb-init/templates/_mariadb.tpl
parent769eebc4d0069f37625b2ac0a5564287e1163111 (diff)
parent01c975b4582a2eeb3ad3d72bb4ae61bc18daaae6 (diff)
Merge changes I78e22429,Ic101f384,I8dd4128b
* changes: Use common secret template in mariadb-galera Improve common secret template Add secret template to common templates
Diffstat (limited to 'kubernetes/common/mariadb-init/templates/_mariadb.tpl')
-rw-r--r--kubernetes/common/mariadb-init/templates/_mariadb.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/common/mariadb-init/templates/_mariadb.tpl b/kubernetes/common/mariadb-init/templates/_mariadb.tpl
index 4f111a5f40..fb3f7974b9 100644
--- a/kubernetes/common/mariadb-init/templates/_mariadb.tpl
+++ b/kubernetes/common/mariadb-init/templates/_mariadb.tpl
@@ -19,7 +19,7 @@
*/}}
{{- define "mariadbInit.mariadbClusterSecret" -}}
{{- if (eq "default" .Values.global.mariadbGalera.userRootSecret) -}}
- {{- printf "%s-mariadb-galera-%s" (include "common.release" .) .Values.global.mariadbGalera.nameOverride -}}
+ {{- printf "%s-mariadb-galera-%s-db-root-password" (include "common.release" .) .Values.global.mariadbGalera.nameOverride -}}
{{- else -}}
{{- .Values.global.mariadbGalera.userRootSecret -}}
{{- end -}}