diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index c4888034..61c92561 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 9.2.6 +version: 9.3.0 # renovate: image=docker.io/library/nextcloud appVersion: 34.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 fce52d3b..bd94bb23 100644 --- a/charts/nextcloud/README.md +++ b/charts/nextcloud/README.md @@ -216,6 +216,7 @@ The following table lists the configurable parameters of the nextcloud chart and | `cronjob.sidecar.resources` | CPU/Memory resource requests/limits for the cron jobs sidecar | `{}` | | `cronjob.sidecar.securityContext` | Optional security context for cron jobs sidecar | `nil` | | `cronjob.cronjob.schedule` | Cron job schedule | `*/5 * * * *` | +| `cronjob.cronjob.suspend` | Suspend the cron job without removing it | `false` | | `cronjob.cronjob.successfulJobsHistoryLimit` | Number of successful jobs to keep in history | `3` | | `cronjob.cronjob.failedJobsHistoryLimit` | Number of failed jobs to keep in history | `5` | | `cronjob.cronjob.labels` | An array of service labels | `nil` | diff --git a/charts/nextcloud/templates/cronjob.yaml b/charts/nextcloud/templates/cronjob.yaml index 3beeff4e..b0fa7d74 100644 --- a/charts/nextcloud/templates/cronjob.yaml +++ b/charts/nextcloud/templates/cronjob.yaml @@ -16,6 +16,7 @@ metadata: {{- end }} spec: schedule: {{ .schedule | quote }} + suspend: {{ .suspend }} concurrencyPolicy: Forbid successfulJobsHistoryLimit: {{ .successfulJobsHistoryLimit }} failedJobsHistoryLimit: {{ .failedJobsHistoryLimit }} diff --git a/charts/nextcloud/values.yaml b/charts/nextcloud/values.yaml index 6c55d741..860ad7ad 100644 --- a/charts/nextcloud/values.yaml +++ b/charts/nextcloud/values.yaml @@ -709,6 +709,8 @@ cronjob: # crond does not work when not running as root user # Note: requires `persistence.enabled=true` schedule: "*/5 * * * *" + # Suspend the cron job without removing it + suspend: false successfulJobsHistoryLimit: 3 failedJobsHistoryLimit: 5 activeDeadlineSeconds: