{{- /*
Copyright 2025 New Vector Ltd
Copyright 2025-2026 Element Creations 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 (LTS) releases, automatic scaling (horizontal and vertical), Advanced Identity and Access Management (Advanced IAM) 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 or $.Values.matrixAuthenticationService.enabled $.Values.wellKnownDelegation.enabled }}
After initial deployment:
{{- 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 $.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 }}

---

{{- if $.Values.elementAdmin.enabled }}
- Element Admin is available at: {{ printf "https://%s" (include "element-io.ess-library.inboundTrafficHandler.host" (dict "root" $ "context" (dict "component" $.Values.elementAdmin))) }}
{{- 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 and $.Values.elementWeb.enabled (include "element-io.ess-library.inboundTrafficHandler.host" (dict "root" $ "context" (dict "component" $.Values.elementWeb))) }}
- Element Web is available at: {{ printf "https://%s" (include "element-io.ess-library.inboundTrafficHandler.host" (dict "root" $ "context" (dict "component" $.Values.elementWeb))) }}
{{- end }}
{{- if and $.Values.matrixAuthenticationService.enabled (include "element-io.ess-library.inboundTrafficHandler.host" (dict "root" $ "context" (dict "component" $.Values.matrixAuthenticationService))) }}
- Users can manage their accounts at: {{ printf "https://%s" (include "element-io.ess-library.inboundTrafficHandler.host" (dict "root" $ "context" (dict "component" $.Values.matrixAuthenticationService))) }}
{{- end }}

{{- include "element-io.deprecations" (dict "root" $) }}
