Skip to content

Commit

Permalink
feat: add startingDeadlineSeconds optional value (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
sugarshin authored Dec 11, 2021
1 parent 5872c09 commit 1624519
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 @@ -47,6 +47,7 @@ The following table lists the configurable parameters of the chart and the defau
| cronjob.jobRestartPolicy | string | `"Never"` | |
| cronjob.labels | object | `{}` | |
| cronjob.schedule | string | `"0 1 * * *"` | |
| cronjob.startingDeadlineSeconds | string | `""` | |
| cronjob.successfulJobsHistoryLimit | 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? |
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 1624519

Please sign in to comment.