Skip to content

Commit

Permalink
Merge pull request #451 from mjdazz/main
Browse files Browse the repository at this point in the history
Only set REDIS_HOST_PASSWORD when Redis auth is enabled
  • Loading branch information
provokateurin authored Oct 15, 2023
2 parents 2b10d90 + 2abc3dd commit 13a08df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/nextcloud/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 2 additions & 0 deletions charts/nextcloud/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down

0 comments on commit 13a08df

Please sign in to comment.