summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-03-25 12:25:49 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-25 12:25:49 +0000
commit78897562ad9be5b7743f0eded39459a0a725bddf (patch)
tree1e9cf4348eb6ddbd0d6dadb0e41478006cb7989c /kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml
parent8af6e787bd1bde1bfbcfc662643982c1ab4ee8a2 (diff)
parentc0a57f88ddcea79e2adfe94efa52d2bcddc792c3 (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.yaml4
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