Skip to content

Commit

Permalink
feat: add startingDeadlineSeconds optional value
Browse files Browse the repository at this point in the history
  • Loading branch information
sugarshin committed Dec 11, 2021
1 parent 5e50b02 commit 7ac3631
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/renovate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ The following table lists the configurable parameters of the chart and the defau
| cronjob.labels | object | `{}` | |
| cronjob.schedule | string | `"0 1 * * *"` | |
| cronjob.successfulJobsHistoryLimit | string | `""` | |
| cronjob.startingDeadlineSeconds | string | `""` | |
| cronjob.suspend | bool | `false` | If it is set to true, all subsequent executions are suspended. This setting does not apply to already started executions. |
| dind.enabled | bool | `false` | Enable dind sidecar usage? |
| dind.image.pullPolicy | string | `"IfNotPresent"` | |
Expand Down
3 changes: 3 additions & 0 deletions charts/renovate/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ spec:
{{- with .Values.cronjob.successfulJobsHistoryLimit }}
successfulJobsHistoryLimit: {{ . }}
{{- end }}
{{- with .Values.cronjob.startingDeadlineSeconds }}
startingDeadlineSeconds: {{ . }}
{{- end }}
jobTemplate:
metadata:
labels:
Expand Down
1 change: 1 addition & 0 deletions charts/renovate/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ cronjob:
successfulJobsHistoryLimit: ''
jobRestartPolicy: Never
jobBackoffLimit: ''
startingDeadlineSeconds: ''

pod:
annotations: {}
Expand Down

0 comments on commit 7ac3631

Please sign in to comment.