Skip to content

Commit

Permalink
forbid concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
edevosc2c committed Oct 18, 2023
1 parent b844be7 commit 2c8f396
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vrt-bot/templates/vrtbot-cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ metadata:
{{- include "vrt-bot.labels" . | nindent 4 }}
spec:
schedule: {{ .Values.schedule | quote }}
concurrencyPolicy: Forbid
successfulJobsHistoryLimit: 2
failedJobsHistoryLimit: 3
jobTemplate:
metadata:
{{- with .Values.podAnnotations }}
Expand All @@ -17,6 +20,7 @@ spec:
spec:
template:
spec:
parallelism: 1
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 12 }}
Expand Down

0 comments on commit 2c8f396

Please sign in to comment.