210775776f
https://github.com/goauthentik/terraform-provider-authentik/issues/184 Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
18 lines
455 B
Python
18 lines
455 B
Python
"""Core managed objects"""
|
|
from authentik.core.models import Source
|
|
from authentik.managed.manager import EnsureExists, ObjectManager
|
|
|
|
|
|
class CoreManager(ObjectManager):
|
|
"""Core managed objects"""
|
|
|
|
def reconcile(self):
|
|
return [
|
|
EnsureExists(
|
|
Source,
|
|
"goauthentik.io/sources/inbuilt",
|
|
name="authentik Built-in",
|
|
slug="authentik-built-in",
|
|
),
|
|
]
|