Skip to content

Commit 7b358ca

Browse files
committed
fix(notify-push): add dirty redis-password support (till is in secret) - WIP
1 parent 4f7b257 commit 7b358ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/nextcloud/templates/notify_push/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ spec:
5252
name: {{ .Values.externalDatabase.existingSecret.secretName | default (printf "%s-db" .Release.Name) }}
5353
key: {{ .Values.externalDatabase.existingSecret.databaseURLKey }}
5454
- name: REDIS_URL
55-
value: "redis://{{ template "nextcloud.redis.fullname" . }}-master:{{ .Values.redis.master.service.ports.redis }}"
55+
value: "redis://{{ if .Values.redis.auth.enabled }}:{{ .Values.redis.auth.password }}@{{ end }}{{ template "nextcloud.redis.fullname" . }}-master:{{ .Values.redis.master.service.ports.redis }}"
5656
- name: NEXTCLOUD_URL # deployment.namespace.svc.cluster.local
5757
value: "http{{ if .Values.notifyPush.https }}s{{ end }}://{{ template "nextcloud.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local:{{ .Values.service.port }}"
5858
ports:

0 commit comments

Comments
 (0)