- Go Template 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
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
Reviewed-on: #13 Reviewed-by: JesseBot <jessebot@linux.com> |
||
| .forgejo | ||
| charts/matrix-authentication-service | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| LICENSE | ||
| README.md | ||
| renovate.json | ||
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.