From ad394f365e34e663f2f63b986aa46a5fd4eca50a Mon Sep 17 00:00:00 2001 From: Robert Fairburn <8029478+rfairburn@users.noreply.github.com> Date: Wed, 10 May 2023 12:30:47 -0500 Subject: [PATCH] Forbid concurrent runs on cronjobs (#11615) --- .../lambda/deploy_terraform/fleet/templates/cronjobs.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/cronjobs.yaml b/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/cronjobs.yaml index 125350bf4c..d6dde2a192 100644 --- a/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/cronjobs.yaml +++ b/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/cronjobs.yaml @@ -10,6 +10,7 @@ metadata: name: {{ .Values.fleetName }} namespace: {{ .Release.Namespace }} spec: + concurrencyPolicy: Forbid schedule: "{{ .Values.crons.vulnerabilities }}" successfulJobsHistoryLimit: 0 jobTemplate: