chore: Allow configuring a separate mail domain

This commit is contained in:
René Fischer
2024-04-18 18:01:52 +02:00
committed by Andreas Niemann
parent e3cfb1d2f3
commit 2b828f6cdb
4 changed files with 25 additions and 9 deletions

View File

@@ -17,11 +17,12 @@ The project includes a `.gitlab-ci.yml` that allows you to execute the deploymen
When starting the pipeline through the GitLab UI, you will be queried for some variables plus the following ones:
- `DOMAIN`: Primary domain for your deployment making the openDesk services available e.g. as `https://portal.DOMAIN`.
- `MAIL_DOMAIN`: (optional) Domain for the users mail addresses, defaults to `DOMAIN`.
- `MATRIX_DOMAIN`: (optional) Domain for the users Matrix IDs, defaults to `DOMAIN`.
- `NAMESPACE`: Namespace of your K8s cluster openDesk will be installed to.
- `MASTER_PASSWORD_WEB_VAR`: Overwrites value of `MASTER_PASSWORD`.
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.
- `NAMESPACE`: Defines into which namespace of your K8s cluster openDesk will be installed
- `MASTER_PASSWORD_WEB_VAR`: Overwrites value of `MASTER_PASSWORD`
Based on your input, the following variables will be set:
- `MASTER_PASSWORD:`: `MASTER_PASSWORD_WEB_VAR`. If `MASTER_PASSWORD_WEB_VAR`

View File

@@ -92,6 +92,20 @@ 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
```yaml
global:
mail_domain: "open.desk"
```
or via environment variable
```shell
export MAIL_DOMAIN=open.desk
```
### Apps
All available apps and their default value can be found in `helmfile/environments/default/workplace.yaml`.