diff --git a/stable/nextcloud/Chart.yaml b/stable/nextcloud/Chart.yaml index f30359ff0e..ca690fed1e 100644 --- a/stable/nextcloud/Chart.yaml +++ b/stable/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: nextcloud -version: 1.7.0 +version: 1.7.1 appVersion: 16.0.3 description: A file sharing server that puts the control and security of your own data back into your hands. keywords: diff --git a/stable/nextcloud/README.md b/stable/nextcloud/README.md index 9525761e19..2e37f8b55f 100644 --- a/stable/nextcloud/README.md +++ b/stable/nextcloud/README.md @@ -96,6 +96,7 @@ The following table lists the configurable parameters of the nextcloud chart and | `cronjob.enabled` | Whether to enable/disable cronjob | `false` | | `cronjob.schedule` | Schedule for the CronJob | `*/15 * * * *` | | `cronjob.annotations` | Annotations to add to the cronjob | {} | +| `cronjob.curlInsecure` | Set insecure (-k) option to curl | false | | `cronjob.failedJobsHistoryLimit` | Specify the number of failed Jobs to keep | `5` | | `cronjob.successfulJobsHistoryLimit` | Specify the number of completed Jobs to keep | `2` | | `cronjob.resources` | Cronjob Resources | `nil` | diff --git a/stable/nextcloud/templates/cronjob.yaml b/stable/nextcloud/templates/cronjob.yaml index 107e378110..25301d77ca 100644 --- a/stable/nextcloud/templates/cronjob.yaml +++ b/stable/nextcloud/templates/cronjob.yaml @@ -44,6 +44,9 @@ spec: imagePullPolicy: {{ default .Values.image.pullPolicy .Values.cronjob.image.pullPolicy }} command: [ "curl" ] args: + {{- if .Values.cronjob.curlInsecure }} + - "-k" + {{- end }} - "--fail" - "-L" {{- if .Values.ingress.tls }} diff --git a/stable/nextcloud/values.yaml b/stable/nextcloud/values.yaml index 0a4c445a18..e6894c76a1 100644 --- a/stable/nextcloud/values.yaml +++ b/stable/nextcloud/values.yaml @@ -186,6 +186,8 @@ cronjob: # cause issues with how nextcloud background jobs are executed schedule: "*/15 * * * *" annotations: {} + # Set curl's insecure option if you use e.g. self-signed certificates + curlInsecure: false failedJobsHistoryLimit: 5 successfulJobsHistoryLimit: 2 # If not set, nextcloud deployment one will be set