[stable/nextcloud] Add insecure option for curl (#16233)

Signed-off-by: Aurélien Bertron <aurelienbertron@gmail.com>
This commit is contained in:
Aurélien Bertron
2019-08-28 23:27:56 -07:00
committed by Kubernetes Prow Robot
parent c6d7f8b04c
commit 6cc61d9007
4 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -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:
+1
View File
@@ -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` |
+3
View File
@@ -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 }}
+2
View File
@@ -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