Add recurringJobs to the templates

Signed-off-by: Jack Ivanov <17044561+jackivanov@users.noreply.github.com>
This commit is contained in:
Jack Ivanov 2020-09-30 13:18:33 +01:00 committed by Sheng Yang
parent 39132812c1
commit 0a5fa0867e
2 changed files with 11 additions and 0 deletions

View File

@ -12,3 +12,6 @@ parameters:
staleReplicaTimeout: "30" staleReplicaTimeout: "30"
fromBackup: "" fromBackup: ""
baseImage: "" baseImage: ""
{{- if .Values.recurringJobs.enable }}
recurringJobs: '{{ .Values.recurringJobs.jobsList | toPrettyJson | indent 2 | trim }}'
{{- end }}

View File

@ -49,6 +49,14 @@ persistence:
defaultClass: true defaultClass: true
defaultClassReplicaCount: 3 defaultClassReplicaCount: 3
recurringJobs:
enable: false
jobsList: []
# - name: snap
# task: snapshot
# cron: '*/1 * * * *'
# retain: 1
csi: csi:
kubeletRootDir: ~ kubeletRootDir: ~
attacherReplicaCount: ~ attacherReplicaCount: ~