mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-11-24 11:01:33 -08:00
synapse: make sure serverName can use helm templates
This commit is contained in:
3 files changed
+3
-2
No files matched your search
@@ -58,7 +58,7 @@ telemetry:
|
||||
*/ -}}
|
||||
{{- if $root.Values.synapse.enabled }}
|
||||
matrix:
|
||||
homeserver: "{{ $root.Values.serverName }}"
|
||||
homeserver: "{{ tpl $root.Values.serverName $root }}"
|
||||
secret: ${SYNAPSE_SHARED_SECRET}
|
||||
endpoint: "http://{{ $root.Release.Name }}-synapse-main.{{ $root.Release.Namespace }}.svc.cluster.local:8008"
|
||||
{{- end }}
|
||||
|
||||
@@ -8,7 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||
{{- with required "synapse/synapse-04-homeserver-overrides.yaml.tpl missing context" .context }}
|
||||
{{- $isHook := required "element-io.synapse.config.shared-overrides requires context.isHook" .isHook -}}
|
||||
public_baseurl: https://{{ tpl .ingress.host $root }}/
|
||||
server_name: {{ required "Synapse requires serverName set" $root.Values.serverName }}
|
||||
server_name: {{ tpl (required "Synapse requires serverName set" $root.Values.serverName) $root }}
|
||||
signing_key_path: /secrets/{{
|
||||
include "element-io.ess-library.init-secret-path" (
|
||||
dict "root" $root "context" (
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Make sure `serverName` can be templatized in Synapse config.
|
||||
Reference in new issue
Block a user