Skip to content

Commit 92e701f

Browse files
authored
fix: cron backofflimit zero value (#136)
1 parent 34d227c commit 92e701f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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.0
18+
version: 0.10.1

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: {{ $job.backoffLimit | default 4 }}
18+
backoffLimit: {{ if hasKey $job "backoffLimit" }}{{ $job.backoffLimit }}{{ else }}4{{ end }}
1919
template:
2020
metadata:
2121
annotations:

0 commit comments

Comments
 (0)