From bcc8d888831e49c2925de1015b53818f439dc26a Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Mon, 13 Sep 2021 15:00:43 -0300 Subject: [PATCH] Prevent repozo cronjob from running more than one pod at a time --- charts/portalmodelo/v0.5.0/templates/repozo-cronjob.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/portalmodelo/v0.5.0/templates/repozo-cronjob.yaml b/charts/portalmodelo/v0.5.0/templates/repozo-cronjob.yaml index 204200b..b595279 100644 --- a/charts/portalmodelo/v0.5.0/templates/repozo-cronjob.yaml +++ b/charts/portalmodelo/v0.5.0/templates/repozo-cronjob.yaml @@ -9,6 +9,7 @@ metadata: spec: # generate a random backup time between 1 and 5 AM schedule: {{ mod (randNumeric 2) 60 }} {{ mod (randNumeric 1) 6 }} * * * + concurrencyPolicy: Forbid jobTemplate: spec: template: