diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-03-25 12:25:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-25 12:25:49 +0000 |
commit | 78897562ad9be5b7743f0eded39459a0a725bddf (patch) | |
tree | 1e9cf4348eb6ddbd0d6dadb0e41478006cb7989c /kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml | |
parent | 8af6e787bd1bde1bfbcfc662643982c1ab4ee8a2 (diff) | |
parent | c0a57f88ddcea79e2adfe94efa52d2bcddc792c3 (diff) |
Merge "[COMMON] Optimize common secret template"
Diffstat (limited to 'kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml')
-rw-r--r-- | kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml b/kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml index c9e2ffe85c..29d96748a3 100644 --- a/kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml +++ b/kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml @@ -86,7 +86,7 @@ spec: echo "Backup Successful!!!" env: - name: DB_PASS - {{- include "common.secret.envFromSecret" (dict "global" . "uid" (include "common.mariadb.secret.rootPassUID" .) "key" "password") | indent 14}} + {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" (include "common.mariadb.secret.rootPassUID" .) "key" "password") | indent 14}} volumeMounts: - name: backup-dir mountPath: /backup @@ -96,7 +96,7 @@ spec: imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} env: - name: MYSQL_ROOT_PASSWORD - {{- include "common.secret.envFromSecret" (dict "global" . "uid" (include "common.mariadb.secret.rootPassUID" .) "key" "password") | indent 14}} + {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" (include "common.mariadb.secret.rootPassUID" .) "key" "password") | indent 14}} command: - /bin/bash - -c |