Skip to content

Commit aeb8a79

Browse files
authored
feat: add support for concurrency policy in cronjobs. (#137)
Keep it backward compatible
1 parent 92e701f commit aeb8a79

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

stable/app/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.10.1
18+
version: 0.10.2

stable/app/templates/cron.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ metadata:
1313
{{- $appLabels | nindent 4 }}
1414
spec:
1515
schedule: {{ $job.schedule | quote }}
16+
concurrencyPolicy: {{ if hasKey $job "concurrencyPolicy" }}{{ $job.concurrencyPolicy }}{{ else }}Allow{{ end }}
1617
jobTemplate:
1718
spec:
1819
backoffLimit: {{ if hasKey $job "backoffLimit" }}{{ $job.backoffLimit }}{{ else }}4{{ end }}

0 commit comments

Comments
 (0)