Skip to content

Commit 0bcd8aa

Browse files
authored
feat: make backoffLimit configurable for jobs (#129)
1 parent 3282b0c commit 0bcd8aa

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

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.9.0
18+
version: 0.10.0

stable/app/templates/cron.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
schedule: {{ $job.schedule | quote }}
1616
jobTemplate:
1717
spec:
18-
backoffLimit: 4
18+
backoffLimit: {{ $job.backoffLimit | default 4 }}
1919
template:
2020
metadata:
2121
annotations:

stable/app/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ cron:
101101
- name: cronJob1
102102
schedule: "0 0 * * *"
103103
restartPolicy: Never
104+
backoffLimit: 4
104105
command:
105106
- app
106107
args:

0 commit comments

Comments
 (0)