File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11apiVersion : v2
22name : nextcloud
3- version : 5.3.2
3+ version : 5.4.0
44appVersion : 29.0.4
55description : A file sharing server that puts the control and security of your own data back into your hands.
66keywords :
Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ The following table lists the configurable parameters of the nextcloud chart and
120120| ` nextcloud.existingSecret.smtpHostKey ` | Name of the key that contains the SMTP hostname | ` nil ` |
121121| ` nextcloud.update ` | Trigger update if custom command is used | ` 0 ` |
122122| ` nextcloud.containerPort ` | Customize container port when not running as root | ` 80 ` |
123+ | ` nextcloud.trustedDomains ` | Optional space-separated list of trusted domains | ` [] ` |
123124| ` nextcloud.datadir ` | nextcloud data dir location | ` /var/www/html/data ` |
124125| ` nextcloud.mail.enabled ` | Whether to enable/disable email settings | ` false ` |
125126| ` nextcloud.mail.fromAddress ` | nextcloud mail send from field | ` nil ` |
Original file line number Diff line number Diff line change @@ -178,7 +178,11 @@ Create environment variables used to configure the nextcloud container as well a
178178 name: {{ .Values.nextcloud.existingSecret.secretName | default (include " nextcloud.fullname" . ) }}
179179 key: {{ .Values.nextcloud.existingSecret.passwordKey }}
180180- name: NEXTCLOUD_TRUSTED_DOMAINS
181+ {{- if .Values.nextcloud.trustedDomains }}
182+ value: {{ join " " .Values.nextcloud.trustedDomains | quote }}
183+ {{- else }}
181184 value: {{ .Values.nextcloud.host }}{{ if .Values.metrics.enabled }} {{ template " nextcloud.fullname" . }}. {{ .Release.Namespace }}.svc.cluster.local {{ end }}
185+ {{- end }}
182186{{- if ne (int .Values.nextcloud.update ) 0 }}
183187- name: NEXTCLOUD_UPDATE
184188 value: {{ .Values.nextcloud.update | quote }}
Original file line number Diff line number Diff line change @@ -93,6 +93,8 @@ nextcloud:
9393 datadir : /var/www/html/data
9494 persistence :
9595 subPath :
96+ # if set, we'll template this list to the NEXTCLOUD_TRUSTED_DOMAINS env var
97+ trustedDomains : []
9698 # # SMTP configuration
9799 mail :
98100 enabled : false
You can’t perform that action at this time.
0 commit comments