From e6d4416b7748a84b3ff63a324e35417e42950389 Mon Sep 17 00:00:00 2001 From: Janne Mareike Koschinski <janne@kuschku.de> Date: Tue, 31 May 2022 01:29:10 +0200 Subject: [PATCH] feat: prevent running duplicate restic jobs --- restic/Chart.yaml | 2 +- restic/templates/cronjob.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/restic/Chart.yaml b/restic/Chart.yaml index 2e462ed..2d94114 100644 --- a/restic/Chart.yaml +++ b/restic/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: restic description: Helm Chart for restic type: application -version: 1.2.0 +version: 1.3.0 appVersion: "0.13.1" diff --git a/restic/templates/cronjob.yaml b/restic/templates/cronjob.yaml index c2f6bfe..ac34ab0 100644 --- a/restic/templates/cronjob.yaml +++ b/restic/templates/cronjob.yaml @@ -5,6 +5,7 @@ metadata: labels: {{- include "restic-helm.labels" . | nindent 4 }} spec: + concurrencyPolicy: Forbid schedule: "{{ .Values.schedule }}" jobTemplate: metadata: -- GitLab