matrix authentication service chart
This repository has been archived on 2026-08-31. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Go Template 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-31 08:39:10 +00:00
.forgejo fix workflow files for new version of forgejo and new forge 2026-08-16 22:26:00 +02:00
charts/matrix-authentication-service Merge branch 'main' into renovate/postgresql-18.x 2026-08-16 20:27:52 +00:00
.gitignore first commit 2024-05-19 21:18:11 +02:00
.pre-commit-config.yaml update readme 2026-05-14 19:57:12 +02:00
LICENSE Create AGPL license 2024-05-25 15:53:59 +02:00
README.md add notice of deprecation 2026-08-31 08:39:10 +00:00
renovate.json update release process to use PR labels to semver bump 2026-06-16 22:57:01 +02:00

Warning

This chart is now deprecated. Its functionality is now baked directly into oeng/matrix-chart as well as element-hq/ess-helm. Please use those charts instead. We will not be updating this chart any more in the future.

Matrix Authentication Service Helm chart

A helm chart for deploying the matrix-authentication-service on Kubernetes.

TLDR

Read through the parameters and modify them locally before installing the chart:

# add the chart repo to your helm repos
helm repo add codeberg.org https://codeberg.org/api/packages/open-engineering/helm
helm repo update

# download the values.yaml and edit it with your own values such as YOUR hostname
helm show values codeberg.org/matrix-authentication-service > values.yaml

# install the chart
helm install --namespace matrix --create-namespace matrix --values values.yaml codeberg.org/matrix-authentication-service

Notes

You can find the official docs for the Matrix Authentication Service at matrix-org.github.io/matrix-authentication-service for now, but this is expected to change to element-hq.github.io/matrix-authentication-service in the near future.

Database

By default, no database is enabled. To enable the built-in Bitnami hosted postgresql sub chart, use:

postgresql:
  enabled: true

To enable using an external database instead of the built-in sub chart, use:

externalDatabase:
  enabled: true

NOTE: You can only use externalDatabase.enabled=True OR postgresql.enabled=True. You cannot use both. You must pick one. If you're still using Bitnami postgresql, but not the one that is bundled as a subchart to this one, you want to use the externalDatabase section.

TLS/SSL NOTE: TLS cannot be enabled for database connections yet due to matrix-org/matrix-authentication-service:#2799

Config.yaml

Matrix Authentication Service requires a config.yaml to function. You can set it up by either using the values under mas, or you can provide your own complete config file via an existing Kubernetes Secret.

Providing an existing Kubernetes secret for config.yaml

You can can provide your own complete config file via an existing Kubernetes Secret with config.yaml as the secret key via values.yaml:

# -- Existing Kubernetes Secret for entire matrix authentication service `config.yaml` file.
# If set, everything under the mas section of the values.yaml is ignored.
existingMasConfigSecret: "my-mas-secret-name"

You can also do it an argument to helm install with --set=existingMasConfigSecret.my-mas-secret-name.

Status

This chart was developed for use with our oeng/matrix-chart, but can be used independently. It is no longer maintained though, as it's contents now live directly in our matrix-chart.