feat(helmfile): Introduce additional variables for mailDomain and synapseDomain

This commit is contained in:
Dominik Kaminski
2024-04-24 21:27:51 +02:00
committed by Andreas Niemann
parent 34558129cd
commit a66fa44e1a
7 changed files with 25 additions and 12 deletions

View File

@@ -20,7 +20,8 @@ When starting the pipeline through the GitLab UI, you will be queried for some v
When starting the pipeline through the GitLab UI, you will be queried for some variables plus the following ones:
- `DOMAIN` = The domain to deploy to.
- `MAIL_DOMAIN` = The mail domain to use.
- `MAIL_DOMAIN` = (optional) Specify domain (f.e. root FQDN) for Mail, defaults to `DOMAIN`.
- `SYNAPSE_DOMAIN` = (optional) Specify domain (f.e. root FQDN) for Synapse, defaults to `DOMAIN`.
- `NAMESPACE`: Defines into which namespace of your K8s cluster openDesk will be installed
- `MASTER_PASSWORD_WEB_VAR`: Overwrites value of `MASTER_PASSWORD`

View File

@@ -92,18 +92,27 @@ or via environment variable
export DOMAIN=domain.tld
```
If the mail domain differs from the domain, the mail
domain has to be set either via `dev` environment
Additionally, you can announce/specify an alternative Domain for mail and chat.
As example, your domain is `acme.tld` and you want to send mails with this domain, then you can deploy openDesk to
`*.opendesk.acme.tld` and send mail as `default.user@acme.tld`.
Webmail will be accessed via `mail.opendesk.acme.tld` in this scenario.
The required routing have to be implemented by yourself.
Users
The alternative domains have to be set either via `dev` environment
```yaml
global:
mail_domain: "open.desk"
mailDomain: "open.desk"
synapseDomain: "open.desk"
```
or via environment variable
```shell
export MAIL_DOMAIN=open.desk
export SYNAPSE_DOMAIN=open.desk
```
### Apps