summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mariadb-init/templates
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2020-02-02 13:18:28 +0000
committerGerrit Code Review <gerrit@onap.org>2020-02-02 13:18:28 +0000
commitc59a59bb4a05ef49132701904635e525d36a2925 (patch)
tree88fa9053abd70ddf042cb30e2a08f8c4df8a0c6a /kubernetes/common/mariadb-init/templates
parentc3cb0527a0400d82668f660bb1126d10dbb77370 (diff)
parenta789c1a7432d58d37269fb40ce719000181a3c2b (diff)
Merge "[COMMON] Provide convenience templates for mariadb secrets"
Diffstat (limited to 'kubernetes/common/mariadb-init/templates')
-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 64c15ed862..af9a4f5f02 100644
--- a/kubernetes/common/mariadb-init/templates/_mariadb.tpl
+++ b/kubernetes/common/mariadb-init/templates/_mariadb.tpl
@@ -18,5 +18,5 @@
Choose the name of the mariadb secret to use.
*/}}
{{- define "mariadbInit.mariadbClusterSecret" -}}
- {{- printf "%s-%s-db-root-password" (include "common.release" .) (default "mariadb-galera" .Values.global.mariadbGalera.nameOverride) -}}
+ {{- include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" (default "mariadb-galera" .Values.global.mariadbGalera.nameOverride)) -}}
{{- end -}}