diff --git a/stable/app/Chart.yaml b/stable/app/Chart.yaml index b46d1c46..47dbcfc9 100644 --- a/stable/app/Chart.yaml +++ b/stable/app/Chart.yaml @@ -15,4 +15,4 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.9.0 +version: 0.10.0 diff --git a/stable/app/templates/cron.yaml b/stable/app/templates/cron.yaml index 4d2f4180..1a982dad 100644 --- a/stable/app/templates/cron.yaml +++ b/stable/app/templates/cron.yaml @@ -15,7 +15,7 @@ spec: schedule: {{ $job.schedule | quote }} jobTemplate: spec: - backoffLimit: 4 + backoffLimit: {{ $job.backoffLimit | default 4 }} template: metadata: annotations: diff --git a/stable/app/values.yaml b/stable/app/values.yaml index 741c26ee..49292b17 100644 --- a/stable/app/values.yaml +++ b/stable/app/values.yaml @@ -101,6 +101,7 @@ cron: - name: cronJob1 schedule: "0 0 * * *" restartPolicy: Never + backoffLimit: 4 command: - app args: