slight tweaking for using https behind traefik on Nextcloud
This commit is contained in:
parent
8138af9b19
commit
4889d80c34
|
@ -35,4 +35,4 @@ sources:
|
||||||
- https://github.com/nextcloud/docker
|
- https://github.com/nextcloud/docker
|
||||||
- https://github.com/nextcloud/helm
|
- https://github.com/nextcloud/helm
|
||||||
type: application
|
type: application
|
||||||
version: 1.0.12
|
version: 1.0.13
|
||||||
|
|
|
@ -118,6 +118,13 @@ questions:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
default: ""
|
default: ""
|
||||||
|
- variable: TRUSTED_PROXIES
|
||||||
|
label: "TRUSTED_PROXIES"
|
||||||
|
description: "Sets nextcloud Trusted Proxies"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: "172.16.0.0/16"
|
||||||
|
|
||||||
|
|
||||||
# Configure Enviroment Variables
|
# Configure Enviroment Variables
|
||||||
- variable: envList
|
- variable: envList
|
||||||
|
|
|
@ -18,5 +18,8 @@ metadata:
|
||||||
name: nextcloudconfig
|
name: nextcloudconfig
|
||||||
data:
|
data:
|
||||||
NEXTCLOUD_TRUSTED_DOMAINS: {{ $hosts | quote }}
|
NEXTCLOUD_TRUSTED_DOMAINS: {{ $hosts | quote }}
|
||||||
|
{{- if .Values.Ingress.main.enabled }}
|
||||||
|
APACHE_DISABLE_REWRITE_IP: 1
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -17,6 +17,7 @@ service:
|
||||||
env:
|
env:
|
||||||
NEXTCLOUD_ADMIN_USER: "admin"
|
NEXTCLOUD_ADMIN_USER: "admin"
|
||||||
NEXTCLOUD_ADMIN_PASSWORD: "adminpass"
|
NEXTCLOUD_ADMIN_PASSWORD: "adminpass"
|
||||||
|
TRUSTED_PROXIES: "172.16.0.0/16"
|
||||||
|
|
||||||
envTpl:
|
envTpl:
|
||||||
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
|
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||||
|
|
|
@ -26,4 +26,4 @@ sources:
|
||||||
- https://traefik.io/
|
- https://traefik.io/
|
||||||
type: application
|
type: application
|
||||||
upstream_version: v9.19.2
|
upstream_version: v9.19.2
|
||||||
version: 6.3.17
|
version: 6.3.18
|
||||||
|
|
|
@ -31,7 +31,7 @@ spec:
|
||||||
- HEAD
|
- HEAD
|
||||||
- PUT
|
- PUT
|
||||||
accessControlMaxAge: 100
|
accessControlMaxAge: 100
|
||||||
# sslRedirect: true
|
sslRedirect: true
|
||||||
# stsSeconds: 63072000
|
# stsSeconds: 63072000
|
||||||
# stsIncludeSubdomains: false
|
# stsIncludeSubdomains: false
|
||||||
# stsPreload: false
|
# stsPreload: false
|
||||||
|
|
Loading…
Reference in New Issue