element-web: configure automatically for the best MAS integration

This commit is contained in:
Gaël Goinvic committed 2025-02-17 17:25:47 +01:00
1 parent e6e4f5a5f3
commit 67f5bf7962
2 files changed
+9

No files matched your search

@@ -26,6 +26,14 @@ app.kubernetes.io/version: {{ .image.tag }}
{{- if $root.Values.synapse.enabled }}
{{- $_ := set $mHomeserver "base_url" (printf "https://%s" $root.Values.synapse.ingress.host) -}}
{{- end }}
{{- if $root.Values.matrixAuthenticationService.enabled }}
{{- $embeddedPages := dict "login_for_welcome" true -}}
{{- $ssoRedirectOptions := dict "immediate" true -}}
{{- $settingDefaults := dict "UIFeature.passwordReset" false "UIFeature.registration" false "UIFeature.deactivate" false -}}
{{- $_ := set $config "embedded_pages" $embeddedPages -}}
{{- $_ := set $config "sso_redirect_options" $ssoRedirectOptions -}}
{{- $_ := set $config "setting_defaults" $settingDefaults -}}
{{- end }}
{{- $defaultServerConfig := dict "m.homeserver" $mHomeserver -}}
{{- $_ := set $config "default_server_config" $defaultServerConfig -}}
{{- tpl (toPrettyJson (merge $config .additional)) $root -}}
+1
View File
@@ -0,0 +1 @@
Config ElementWeb automatically for best Matrix Authentication Service integration.