fix(helm): timings for cron jobs

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2022-07-13 20:25:33 +02:00
parent bae347c4ff
commit 285d4cf0e5
4 changed files with 4 additions and 3 deletions

View file

@ -5,7 +5,7 @@ metadata:
name: report-cron
namespace: {{ .Release.Namespace }}
spec:
schedule: "{{ .Values.cron }}"
schedule: "{{ .Values.report.cron }}"
failedJobsHistoryLimit: 1
successfulJobsHistoryLimit: 1
jobTemplate:

View file

@ -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:

View file

@ -5,7 +5,7 @@ metadata:
name: telemetry-cron
namespace: {{ .Release.Namespace }}
spec:
schedule: "{{ .Values.cron }}"
schedule: "{{ .Values.telemetry.cron }}"
failedJobsHistoryLimit: 1
successfulJobsHistoryLimit: 1
jobTemplate:

View file

@ -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