matrix authentication service chart
  • Go Template 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
JesseBot 9af7c30069
Some checks failed
Release Chart / build-and-push (push) Successful in 4s
Release Chart / harbor (push) Successful in 0s
Release Chart / build-and-push-1 (push) Failing after 4s
Release Chart / forgejo (push) Failing after 0s
Release Chart / build-and-push-2 (push) Successful in 3s
Release Chart / codeberg (push) Successful in 0s
Merge pull request 'Update postgresql Docker tag to v18.8.9' (#13) from renovate/postgresql-18.x into main
Reviewed-on: #13
Reviewed-by: JesseBot <jessebot@linux.com>
2026-08-16 20:28:11 +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 fix workflow files for new version of forgejo and new forge 2026-08-16 22:26:00 +02:00
renovate.json update release process to use PR labels to semver bump 2026-06-16 22:57:01 +02:00

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 the oeng/matrix-chart, but can be used independently. Feel free to open PRs and Issues if you see anything broken or want a feature.

It's sub-charts are kept up-to-date by renovatebot.

If the official repo deploys a chart, and it doesn't meet our security needs, we'll submit PRs till it does and when it's in a good state, you can expect this chart to be publicly archived with a link to the official chart.