diff --git a/scripts/helmcharts/openreplay/charts/utilities/templates/report-cron.yaml b/scripts/helmcharts/openreplay/charts/utilities/templates/report-cron.yaml index 4a321c20e..966a47247 100644 --- a/scripts/helmcharts/openreplay/charts/utilities/templates/report-cron.yaml +++ b/scripts/helmcharts/openreplay/charts/utilities/templates/report-cron.yaml @@ -5,7 +5,7 @@ metadata: name: report-cron namespace: {{ .Release.Namespace }} spec: - schedule: "{{ .Values.cron }}" + schedule: "{{ .Values.report.cron }}" failedJobsHistoryLimit: 1 successfulJobsHistoryLimit: 1 jobTemplate: diff --git a/scripts/helmcharts/openreplay/charts/utilities/templates/sessions-cleaner-cron.yaml b/scripts/helmcharts/openreplay/charts/utilities/templates/sessions-cleaner-cron.yaml index 7a916b4c1..9313e88af 100644 --- a/scripts/helmcharts/openreplay/charts/utilities/templates/sessions-cleaner-cron.yaml +++ b/scripts/helmcharts/openreplay/charts/utilities/templates/sessions-cleaner-cron.yaml @@ -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: diff --git a/scripts/helmcharts/openreplay/charts/utilities/templates/telemetry-cron.yaml b/scripts/helmcharts/openreplay/charts/utilities/templates/telemetry-cron.yaml index ca7dc03c4..95fd26188 100644 --- a/scripts/helmcharts/openreplay/charts/utilities/templates/telemetry-cron.yaml +++ b/scripts/helmcharts/openreplay/charts/utilities/templates/telemetry-cron.yaml @@ -5,7 +5,7 @@ metadata: name: telemetry-cron namespace: {{ .Release.Namespace }} spec: - schedule: "{{ .Values.cron }}" + schedule: "{{ .Values.telemetry.cron }}" failedJobsHistoryLimit: 1 successfulJobsHistoryLimit: 1 jobTemplate: diff --git a/scripts/helmcharts/openreplay/charts/utilities/values.yaml b/scripts/helmcharts/openreplay/charts/utilities/values.yaml index 8df1560d0..e973cbeec 100644 --- a/scripts/helmcharts/openreplay/charts/utilities/values.yaml +++ b/scripts/helmcharts/openreplay/charts/utilities/values.yaml @@ -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