From 1d128b67fe01fe8a1adb264ea2e88d64375461f3 Mon Sep 17 00:00:00 2001 From: Markus Keil Date: Tue, 16 Jan 2024 18:39:02 +0100 Subject: [PATCH] make sure only one discord backup job runs --- charts/discord-backup-bot/Chart.yaml | 2 +- charts/discord-backup-bot/templates/job.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/discord-backup-bot/Chart.yaml b/charts/discord-backup-bot/Chart.yaml index 1396abc..8ff9df3 100644 --- a/charts/discord-backup-bot/Chart.yaml +++ b/charts/discord-backup-bot/Chart.yaml @@ -3,7 +3,7 @@ name: discord-backup-bot description: A Helm chart for the discord backup bot type: application -version: 0.2.4 +version: 0.2.5 # App metadata appVersion: "0.0.1" diff --git a/charts/discord-backup-bot/templates/job.yaml b/charts/discord-backup-bot/templates/job.yaml index 2ac073a..0792806 100644 --- a/charts/discord-backup-bot/templates/job.yaml +++ b/charts/discord-backup-bot/templates/job.yaml @@ -4,6 +4,7 @@ metadata: name: {{ .Release.Name }}-job spec: schedule: "{{ .Values.backupSchedule }}" + concurrencyPolicy: Forbid jobTemplate: spec: template: