mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/nextcloud] Add insecure option for curl (#16233)
Signed-off-by: Aurélien Bertron <aurelienbertron@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
c6d7f8b04c
commit
6cc61d9007
@@ -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:
|
||||
|
||||
@@ -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` |
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user