File tree Expand file tree Collapse file tree
addons/seaweedfs/3/chart/seaweedfs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ metadata:
1212 {{- end }}
1313spec :
1414 timeZone : " {{ .Values.cronjob.timeZone }}"
15- schedule : " {{ .Values.cronjob.schedule }}"
15+ schedule : " {{ (tpl .Values.cronjob.schedule $) }}"
1616 concurrencyPolicy : " {{ .Values.cronjob.concurrencyPolicy }}"
1717 successfulJobsHistoryLimit : {{ .Values.cronjob.successfulJobsHistoryLimit }}
1818 failedJobsHistoryLimit : {{ .Values.cronjob.failedJobsHistoryLimit }}
Original file line number Diff line number Diff line change @@ -397,10 +397,12 @@ cronjob:
397397 volume.deleteEmpty -quietFor=24h -force
398398 volume.balance -force
399399 volume.fix.replication
400+ volume.fsck -reallyDeleteFromVolume
401+ volume.vacuum -garbageThreshold 0
400402 s3.clean.uploads -timeAgo=24h
401403 unlock
402404 timeZone : " Etc/UTC"
403- schedule : " 0 */1 * * *"
405+ schedule : " {{ mod (randNumeric 3) 60 }} {{ mod (randNumeric 3) 24 }} * * *"
404406 concurrencyPolicy : " Replace"
405407 successfulJobsHistoryLimit : 1
406408 failedJobsHistoryLimit : 1
You can’t perform that action at this time.
0 commit comments