fix(helm): timings for cron jobs
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
bae347c4ff
commit
285d4cf0e5
4 changed files with 4 additions and 3 deletions
|
|
@ -5,7 +5,7 @@ metadata:
|
|||
name: report-cron
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
schedule: "{{ .Values.cron }}"
|
||||
schedule: "{{ .Values.report.cron }}"
|
||||
failedJobsHistoryLimit: 1
|
||||
successfulJobsHistoryLimit: 1
|
||||
jobTemplate:
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ metadata:
|
|||
name: sessions-cleaner-cron
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
schedule: "{{ .Values.cron }}"
|
||||
schedule: "{{ .Values.sessionsCleaner.cron }}"
|
||||
failedJobsHistoryLimit: 1
|
||||
successfulJobsHistoryLimit: 1
|
||||
jobTemplate:
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ metadata:
|
|||
name: telemetry-cron
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
schedule: "{{ .Values.cron }}"
|
||||
schedule: "{{ .Values.telemetry.cron }}"
|
||||
failedJobsHistoryLimit: 1
|
||||
successfulJobsHistoryLimit: 1
|
||||
jobTemplate:
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ report:
|
|||
sessionsCleaner:
|
||||
# https://crontab.guru/#5_1_*_*_*
|
||||
# Midnight 1.05
|
||||
cron: "5 1 * * *"
|
||||
image:
|
||||
repository: "{{ .Values.global.openReplayContainerRegistry }}/crons"
|
||||
pullPolicy: IfNotPresent
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue