From 2b70863a7c0ff7c97f63c1904d992f34c8965e62 Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Thu, 21 Jul 2022 19:17:12 +0200 Subject: [PATCH] chore(helm): change job backoff policy Signed-off-by: rjshrjndrn --- .../openreplay/charts/utilities/templates/efs-cron.yaml | 2 ++ .../openreplay/charts/utilities/templates/report-cron.yaml | 1 + .../charts/utilities/templates/sessions-cleaner-cron.yaml | 1 + .../openreplay/charts/utilities/templates/telemetry-cron.yaml | 1 + 4 files changed, 5 insertions(+) diff --git a/scripts/helmcharts/openreplay/charts/utilities/templates/efs-cron.yaml b/scripts/helmcharts/openreplay/charts/utilities/templates/efs-cron.yaml index a960ebea4..d27a678da 100644 --- a/scripts/helmcharts/openreplay/charts/utilities/templates/efs-cron.yaml +++ b/scripts/helmcharts/openreplay/charts/utilities/templates/efs-cron.yaml @@ -9,8 +9,10 @@ spec: successfulJobsHistoryLimit: 1 jobTemplate: spec: + backoffLimit: 0 # Don't restart the failed jobs template: spec: + restartPolicy: Never containers: - name: efs-cleaner image: alpine diff --git a/scripts/helmcharts/openreplay/charts/utilities/templates/report-cron.yaml b/scripts/helmcharts/openreplay/charts/utilities/templates/report-cron.yaml index 350de8c12..678c15111 100644 --- a/scripts/helmcharts/openreplay/charts/utilities/templates/report-cron.yaml +++ b/scripts/helmcharts/openreplay/charts/utilities/templates/report-cron.yaml @@ -10,6 +10,7 @@ spec: successfulJobsHistoryLimit: 1 jobTemplate: spec: + backoffLimit: 0 # Don't restart the failed jobs template: spec: restartPolicy: Never 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 47246a5bd..2d625e97f 100644 --- a/scripts/helmcharts/openreplay/charts/utilities/templates/sessions-cleaner-cron.yaml +++ b/scripts/helmcharts/openreplay/charts/utilities/templates/sessions-cleaner-cron.yaml @@ -10,6 +10,7 @@ spec: successfulJobsHistoryLimit: 1 jobTemplate: spec: + backoffLimit: 0 # Don't restart the failed jobs template: spec: restartPolicy: Never diff --git a/scripts/helmcharts/openreplay/charts/utilities/templates/telemetry-cron.yaml b/scripts/helmcharts/openreplay/charts/utilities/templates/telemetry-cron.yaml index 74d24b624..57de6ce90 100644 --- a/scripts/helmcharts/openreplay/charts/utilities/templates/telemetry-cron.yaml +++ b/scripts/helmcharts/openreplay/charts/utilities/templates/telemetry-cron.yaml @@ -10,6 +10,7 @@ spec: successfulJobsHistoryLimit: 1 jobTemplate: spec: + backoffLimit: 0 # Don't restart the failed jobs template: spec: restartPolicy: Never