fix(nextcloud): reference correct variable name (#2041)

This commit is contained in:
Stavros Kois
2024-01-16 14:31:43 +02:00
committed by GitHub
parent 592a0400c7
commit bdbe40c1fc
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ description: A file sharing server that puts the control and security of your ow
annotations:
title: Nextcloud
type: application
version: 1.6.55
version: 1.6.56
apiVersion: v2
appVersion: 28.0.1
kubeVersion: '>=1.16.0-0'

View File

@@ -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)) }}