This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/lifecycle
Jens L 2f469d2709
root: partial Live-updating config (#5959)
* stages/email: directly use email credentials from config

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* use custom database backend that supports dynamic credentials

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* fix tests

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* add crude config reloader

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* make method names for CONFIG clearer

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* replace config.set with environ

Not sure if this is the cleanest way, but it persists through a config reload

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* re-add set for @patch

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* even more crudeness

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* clean up some old stuff?

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* somewhat rewrite config loader to keep track of a source of an attribute so we can refresh it

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* cleanup old things

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* fix flow e2e

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-07-19 23:13:22 +02:00
..
system_migrations root: partial Live-updating config (#5959) 2023-07-19 23:13:22 +02:00
__init__.py root: automate system migrations, move docker to lifecycle folder 2020-09-10 00:18:39 +02:00
ak root: celery refactor (#6095) 2023-06-28 16:44:50 +02:00
ak.py root: add ak wrapper script to be installed with poetry 2022-01-04 22:17:07 +01:00
gunicorn.conf.py root: partial Live-updating config (#5959) 2023-07-19 23:13:22 +02:00
migrate.py root: partial Live-updating config (#5959) 2023-07-19 23:13:22 +02:00
wait_for_db.py root: partial Live-updating config (#5959) 2023-07-19 23:13:22 +02:00
worker.py lifecycle: use custom worker class 2021-12-11 19:55:09 +01:00