diff options
author | Borislav Glozman <Borislav.Glozman@amdocs.com> | 2020-02-02 13:18:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-02-02 13:18:28 +0000 |
commit | c59a59bb4a05ef49132701904635e525d36a2925 (patch) | |
tree | 88fa9053abd70ddf042cb30e2a08f8c4df8a0c6a /kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml | |
parent | c3cb0527a0400d82668f660bb1126d10dbb77370 (diff) | |
parent | a789c1a7432d58d37269fb40ce719000181a3c2b (diff) |
Merge "[COMMON] Provide convenience templates for mariadb secrets"
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 69a8490760..c9e2ffe85c 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" "db-root-password" "key" "password") | indent 14}} + {{- include "common.secret.envFromSecret" (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" "db-root-password" "key" "password") | indent 14}} + {{- include "common.secret.envFromSecret" (dict "global" . "uid" (include "common.mariadb.secret.rootPassUID" .) "key" "password") | indent 14}} command: - /bin/bash - -c |