Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Removal of zookeeper from portal HELM charts
[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
408bd18
..
29d9674
100644
(file)
--- a/
kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml
+++ b/
kubernetes/common/mariadb-galera/templates/backup/cronjob.yaml
@@
-22,7
+22,7
@@
metadata:
labels:
app: {{ include "common.fullname" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
labels:
app: {{ include "common.fullname" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
- release: {{
.Release.Name
}}
+ release: {{
include "common.release" .
}}
heritage: {{ .Release.Service }}
spec:
schedule: {{ .Values.backup.cron | quote }}
heritage: {{ .Release.Service }}
spec:
schedule: {{ .Values.backup.cron | quote }}
@@
-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" "db-root-password"
"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" "db-root-password"
"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