outposts: manage config for embedded outpost
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
8495ff9fc0
commit
bc9ff792a8
|
@ -1,6 +1,8 @@
|
|||
"""Outpost managed objects"""
|
||||
from dataclasses import asdict
|
||||
|
||||
from authentik.managed.manager import EnsureExists, ObjectManager
|
||||
from authentik.outposts.models import Outpost, OutpostType
|
||||
from authentik.outposts.models import Outpost, OutpostConfig, OutpostType
|
||||
|
||||
MANAGED_OUTPOST = "goauthentik.io/outposts/embedded"
|
||||
|
||||
|
@ -15,5 +17,15 @@ class OutpostManager(ObjectManager):
|
|||
MANAGED_OUTPOST,
|
||||
name="authentik Embedded Outpost",
|
||||
type=OutpostType.PROXY,
|
||||
_config=asdict(
|
||||
OutpostConfig(
|
||||
authentik_host="",
|
||||
kubernetes_disabled_components=[
|
||||
"deployment",
|
||||
"service",
|
||||
"secret",
|
||||
],
|
||||
)
|
||||
),
|
||||
),
|
||||
]
|
||||
|
|
Reference in a new issue