mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-11-26 03:46:41 -08:00
Merge pull request #1236 from element-hq/bbz/fix-hookshot-redis-more
This commit is contained in:
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
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Correctly set the external Redis password in Hookshot if configured.
|
||||
Reference in new issue
Block a user