core: add command to output full config

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-11-07 21:39:25 +01:00
parent c6cc1b1728
commit 61b5b36192
5 changed files with 26 additions and 1 deletions

View File

@@ -152,3 +152,13 @@ Configure how authentik should show avatars for users. Following values can be s
- `%(username)s`: The user's username
- `%(mail_hash)s`: The email address, md5 hashed
- `%(upn)s`: The user's UPN, if set (otherwise an empty string)
## Debugging
To check if your config has been applied correctly, you can run the following command to output the full config:
```
docker-compose run --rm worker dump_config
# Or for kubernetes
kubectl exec -it deployment/authentik-worker -c authentik -- ak dump_config
```