diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index 3747b3ad..71a06838 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 4.3.3 +version: 4.3.4 appVersion: 27.1.2 description: A file sharing server that puts the control and security of your own data back into your hands. keywords: diff --git a/charts/nextcloud/templates/_helpers.tpl b/charts/nextcloud/templates/_helpers.tpl index 4c4b9e8a..14f14545 100644 --- a/charts/nextcloud/templates/_helpers.tpl +++ b/charts/nextcloud/templates/_helpers.tpl @@ -217,6 +217,7 @@ Create environment variables used to configure the nextcloud container as well a value: {{ template "nextcloud.redis.fullname" . }}-master - name: REDIS_HOST_PORT value: {{ .Values.redis.master.service.ports.redis | quote }} +{{- if .Values.redis.auth.enabled }} {{- if and .Values.redis.auth.existingSecret .Values.redis.auth.existingSecretPasswordKey }} - name: REDIS_HOST_PASSWORD valueFrom: @@ -228,6 +229,7 @@ Create environment variables used to configure the nextcloud container as well a value: {{ .Values.redis.auth.password }} {{- end }} {{- end }} +{{- end }} {{- if .Values.nextcloud.extraEnv }} {{ toYaml .Values.nextcloud.extraEnv }} {{- end }}