This commit is contained in:
Stavros kois
2024-04-16 20:54:29 +03:00
parent 6fd81b6599
commit 6d8ed2ad2e
2 changed files with 5 additions and 3 deletions
@@ -51,7 +51,9 @@ secret:
{{- if .Values.ncNetwork.certificateID }}
APACHE_DISABLE_REWRITE_IP: "1"
OVERWRITEPROTOCOL: "https"
TRUSTED_PROXIES: {{ list "127.0.0.1" "localhost" .Values.ncConfig.host | mustUniq | join "," | quote }}
{{- $svcCidr := .Values.global.ixChartContext.kubernetes_config.service_cidr -}}
{{- $clusterCidr := .Values.global.ixChartContext.kubernetes_config.cluster_cidr -}}
TRUSTED_PROXIES: {{ list $svcCidr $clusterCidr "127.0.0.1" | mustUniq | join "," | quote }}
{{- if and .Values.ncConfig.host .Values.ncNetwork.webPort }}
{{- if .Values.ncConfig.nginx.useDifferentAccessPort }}
OVERWRITEHOST: {{ .Values.ncConfig.host }}
@@ -2,11 +2,11 @@
persistence:
data: # TODO:
enabled: true
type: emptyDir
type: pvc
targetSelector:
nextcloud:
nextcloud:
mountPath: {{ .Values.ncConfig.dataDir }}
mountPath: /var/www/html
# config:
# enabled: true