{{- /*
Copyright 2025 New Vector Ltd

SPDX-License-Identifier: AGPL-3.0-only
*/}}

ESS Community {{ $.Chart.Version }}

You are using ESS Community which is tailored to small-/mid-scale, non-commercial community use cases. If you're looking for a professional Matrix backend that is designed to support enterprise requirements and certifications, take a look at ESS Pro https://element.io/server-suite.

ESS Pro provides Long-Term Support releases, automatic scaling (horizontal and vertical) of Synapse Workers, Advanced Identity Management to manage users and spaces permissions, and more.

Feel free to join our matrix room to discuss at https://matrix.to/#/#ess-community:element.io.

{{- if $.Values.elementAdmin.enabled }}
Your admin console is available at: https://{{ tpl $.Values.elementAdmin.ingress.host $ }}
{{- if and $.Values.serverName (not $.Values.matrixAuthenticationService.enabled) }}
WARNING: You have enabled the element-admin component, but have disabled the matrix-authentication-service.
         You will not be able to login to the element admin console to manage your users.
         Please consider migrating to Matrix Authentication Service using the syn2mas documentation
         in https://github.com/element-hq/ess-helm/blob/main/docs/syn2mas.md.
{{- end }}
{{- end }}

{{- if $.Values.matrixAuthenticationService.enabled }}

To create your first user, please run the following command:
kubectl exec -n {{ $.Release.Namespace }} -it deployment/{{ $.Release.Name }}-matrix-authentication-service -- mas-cli manage register-user
{{- end }}

{{- if and $.Values.elementWeb.enabled $.Values.elementWeb.ingress.host }}

Your chat client is available at: https://{{ tpl $.Values.elementWeb.ingress.host $ }}
{{- end }}
{{- if and $.Values.matrixAuthenticationService.enabled $.Values.matrixAuthenticationService.ingress.host }}

You can manage your account at: https://{{ tpl $.Values.matrixAuthenticationService.ingress.host $ }}
{{- end }}
{{- if $.Values.wellKnownDelegation.enabled }}

To successfully federate, make sure that the Well-Known Delegation works properly using the matrix-federation-tester: https://federationtester.matrix.org/#{{ tpl $.Values.serverName $ }}
{{- end }}
{{- include "element-io.deprecations" (dict "root" $) }}
