Skip to content

Commit

Permalink
1.1.17: update cronjob with backoffLimit
Browse files Browse the repository at this point in the history
  • Loading branch information
alexremn committed Jul 13, 2024
1 parent f650f6c commit 625b251
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/default-templates/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
appVersion: '1.1.16'
version: '1.1.16'
appVersion: '1.1.17'
version: '1.1.17'
name: default-templates
description: Default templates chart
icon: https://hub.docker.com/public/images/logos/mini-logo.svg
Expand Down
3 changes: 2 additions & 1 deletion charts/default-templates/templates/_cronjob.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spec:
schedule: {{ .Values.cronjob.schedule }}
jobTemplate:
spec:
backoffLimit: {{ .Values.cronjob.backoffLimit | default 0 }}
template:
spec:
{{- if .Values.global.imagePullSecret }}
Expand Down Expand Up @@ -76,4 +77,4 @@ spec:
nodeSelector:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 625b251

Please sign in to comment.