Merge pull request #1236 from element-hq/bbz/fix-hookshot-redis-more

This commit is contained in:
Ben Banfield-Zanin authored and GitHub committed 2026-04-17 12:42:12 +01:00
commit 5f8923d152
3 files changed
+3 -5

No files matched your search

@@ -34,10 +34,7 @@ encryption:
cache:
{{- if .redis }}
redisUri: "redis{{ if .redis.tls }}s{{ end }}://{{ tpl .redis.host $root }}:{{ .redis.port | default 6379 }}/{{ .redis.db | default 0 }}"
{{- if .redis.password }}
redisPassword: ${HOOKSHOT_REDIS_PASSWORD}
{{- end }}
redisUri: "redis{{ if .redis.tls }}s{{ end }}://{{ if .redis.password }}:${HOOKSHOT_REDIS_PASSWORD}@{{ end }}{{ tpl .redis.host $root }}:{{ .redis.port | default 6379 }}/{{ .redis.db | default 0 }}"
{{- else }}
redisUri: "redis://{{ $root.Release.Name }}-redis.{{ $root.Release.Namespace }}.svc.{{ $root.Values.clusterDomain }}:6379"
{{- end }}
@@ -105,7 +105,7 @@ env:
- name: HOOKSHOT_REDIS_PASSWORD
value: >-
{{
printf "{{ readfile \"/secrets/%s\" | quote }}"
printf "{{ readfile \"/secrets/%s\" | urlencode }}"
(
include "element-io.ess-library.provided-secret-path" (
dict "root" $root
+1
View File
@@ -0,0 +1 @@
Correctly set the external Redis password in Hookshot if configured.