Skip to content

Commit 7edffec

Browse files
authored
feat(cronjob):Added activeDeadlineSeconds #820
Signed-off-by: Cromefire_ <[email protected]>
1 parent 3206d15 commit 7edffec

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

charts/nextcloud/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: nextcloud
3-
version: 8.6.1
3+
version: 8.7.0
44
# renovate: image=docker.io/library/nextcloud
55
appVersion: 32.0.3
66
description: A file sharing server that puts the control and security of your own data back into your hands.

charts/nextcloud/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ The following table lists the configurable parameters of the nextcloud chart and
222222
| `cronjob.cronjob.podLabels` | An array of service labels | `nil` |
223223
| `cronjob.cronjob.annotations` | An array of service annotations | `nil` |
224224
| `cronjob.cronjob.backoffLimit` | The number of retries before marking a job as failed | `1` |
225+
| `cronjob.cronjob.activeDeadlineSeconds` | The number of seconds before cancelling a job | `nil` |
225226
| `cronjob.cronjob.affinity` | The affinity settings for the cron job | `{}` |
226227
| `cronjob.cronjob.resources` | The resource requests/limits for the cron job | `{}` |
227228
| `cronjob.cronjob.priorityClassName` | Priority Class for cronjob. Defaults to .priorityClassName | `nil` |

charts/nextcloud/templates/cronjob.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ spec:
2828
{{- end }}
2929
spec:
3030
backoffLimit: {{ .backoffLimit }}
31+
{{- with .activeDeadlineSeconds }}
32+
activeDeadlineSeconds: {{ . }}
33+
{{- end }}
3134
template:
3235
metadata:
3336
labels:

charts/nextcloud/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,7 @@ cronjob:
650650
schedule: "*/5 * * * *"
651651
successfulJobsHistoryLimit: 3
652652
failedJobsHistoryLimit: 5
653+
activeDeadlineSeconds:
653654
# -- Additional labels for cronjob
654655
labels: {}
655656
# -- Additional labels for cronjob pod

0 commit comments

Comments
 (0)