Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[COMMON] Optimize common secret template
[oom.git]
/
kubernetes
/
common
/
mariadb-galera
/
templates
/
backup
/
cronjob.yaml
diff --git
a/kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml
b/kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml
index
c9e2ffe
..
29d9674
100644
(file)
--- 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
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.envFromSecret
Fast
" (dict "global" . "uid" (include "common.mariadb.secret.rootPassUID" .) "key" "password") | indent 14}}
volumeMounts:
- name: backup-dir
mountPath: /backup
volumeMounts:
- name: backup-dir
mountPath: /backup
@@
-96,7
+96,7
@@
spec:
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
env:
- name: MYSQL_ROOT_PASSWORD
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.envFromSecret
Fast
" (dict "global" . "uid" (include "common.mariadb.secret.rootPassUID" .) "key" "password") | indent 14}}
command:
- /bin/bash
- -c
command:
- /bin/bash
- -c