From bdbe40c1fc50daa4e86d1f5ce2ac0c55ef5e334f Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Tue, 16 Jan 2024 14:31:43 +0200 Subject: [PATCH] fix(nextcloud): reference correct variable name (#2041) --- library/ix-dev/charts/nextcloud/Chart.yaml | 2 +- library/ix-dev/charts/nextcloud/templates/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library/ix-dev/charts/nextcloud/Chart.yaml b/library/ix-dev/charts/nextcloud/Chart.yaml index 8b4a546f4c..4ae111cdef 100644 --- a/library/ix-dev/charts/nextcloud/Chart.yaml +++ b/library/ix-dev/charts/nextcloud/Chart.yaml @@ -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' diff --git a/library/ix-dev/charts/nextcloud/templates/deployment.yaml b/library/ix-dev/charts/nextcloud/templates/deployment.yaml index 7cae2ea2c6..3a2c74d287 100644 --- a/library/ix-dev/charts/nextcloud/templates/deployment.yaml +++ b/library/ix-dev/charts/nextcloud/templates/deployment.yaml @@ -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)) }}