synapse: fix hostname replace missing 3rd parameter

This commit is contained in:
Gaël Goinvic committed 2025-01-28 14:19:46 +01:00
1 parent d0a08695c8
commit c6bf073dec
1 file changed
+1 -1
@@ -114,7 +114,7 @@ We have an init container to render & merge the config for several reasons:
{{ printf "{{ readfile \"/secrets/%s/%s\" }}" (tpl (.registrationSharedSecret.secret | default (printf "%s-synapse" $.Release.Name)) $) (.registrationSharedSecret.secretKey | default "REGISTRATION_SHARED_SECRET") }}
- name: APPLICATION_NAME
value: >-
{{ printf "{{ hostname | replace \"-synapse-\" }}" }}
{{ printf "{{ hostname | replace \"-synapse-\" \"\" }}" }}
{{- include "element-io.synapse.env" (dict "root" $ "context" .) | nindent 10 }}
{{- with .resources }}
resources: