diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index e88cf9c3..15c16f6d 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 8.6.1 +version: 8.7.0 # renovate: image=docker.io/library/nextcloud appVersion: 32.0.3 description: A file sharing server that puts the control and security of your own data back into your hands. diff --git a/charts/nextcloud/README.md b/charts/nextcloud/README.md index e8282141..2f3bb007 100644 --- a/charts/nextcloud/README.md +++ b/charts/nextcloud/README.md @@ -222,6 +222,7 @@ The following table lists the configurable parameters of the nextcloud chart and | `cronjob.cronjob.podLabels` | An array of service labels | `nil` | | `cronjob.cronjob.annotations` | An array of service annotations | `nil` | | `cronjob.cronjob.backoffLimit` | The number of retries before marking a job as failed | `1` | +| `cronjob.cronjob.activeDeadlineSeconds` | The number of seconds before cancelling a job | `nil` | | `cronjob.cronjob.affinity` | The affinity settings for the cron job | `{}` | | `cronjob.cronjob.resources` | The resource requests/limits for the cron job | `{}` | | `cronjob.cronjob.priorityClassName` | Priority Class for cronjob. Defaults to .priorityClassName | `nil` | diff --git a/charts/nextcloud/templates/cronjob.yaml b/charts/nextcloud/templates/cronjob.yaml index 3a582b21..3beeff4e 100644 --- a/charts/nextcloud/templates/cronjob.yaml +++ b/charts/nextcloud/templates/cronjob.yaml @@ -28,6 +28,9 @@ spec: {{- end }} spec: backoffLimit: {{ .backoffLimit }} + {{- with .activeDeadlineSeconds }} + activeDeadlineSeconds: {{ . }} + {{- end }} template: metadata: labels: diff --git a/charts/nextcloud/values.yaml b/charts/nextcloud/values.yaml index 9c44fd28..dfde6ed8 100644 --- a/charts/nextcloud/values.yaml +++ b/charts/nextcloud/values.yaml @@ -650,6 +650,7 @@ cronjob: schedule: "*/5 * * * *" successfulJobsHistoryLimit: 3 failedJobsHistoryLimit: 5 + activeDeadlineSeconds: # -- Additional labels for cronjob labels: {} # -- Additional labels for cronjob pod