mirror of
https://github.com/truenas/charts.git
synced 2026-05-11 11:06:11 +08:00
fix(nextcloud): reference correct variable name (#2041)
This commit is contained in:
@@ -83,7 +83,7 @@ spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
|
||||
{{ if eq (include "nginx.certAvailable" .) "true" }}
|
||||
{{ $envList = mustAppend $envList (dict "name" "APACHE_DISABLE_REWRITE_IP" "value" "1") }}
|
||||
{{ if and .Values.nextcloud.host .Values.service.nodePort }}
|
||||
{{ if .Values.nginxConfig.use443 }}
|
||||
{{ if .Values.nginxConfig.useDifferentAccessPort }}
|
||||
{{ $envList = mustAppend $envList (dict "name" "OVERWRITEHOST" "value" .Values.nextcloud.host) }}
|
||||
{{ else }}
|
||||
{{ $envList = mustAppend $envList (dict "name" "OVERWRITEHOST" "value" (printf "%v:%v" .Values.nextcloud.host .Values.service.nodePort)) }}
|
||||
|
||||
Reference in New Issue
Block a user