outposts: don't override authentik_host for embedded outpost authentik_host
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
ccfc1dbcc2
commit
8180d6f9e8
|
@ -1,12 +1,9 @@
|
||||||
"""Outpost managed objects"""
|
"""Outpost managed objects"""
|
||||||
from dataclasses import asdict
|
|
||||||
|
|
||||||
from authentik.managed.manager import EnsureExists, ObjectManager
|
from authentik.managed.manager import EnsureExists, ObjectManager
|
||||||
from authentik.outposts.models import (
|
from authentik.outposts.models import (
|
||||||
DockerServiceConnection,
|
DockerServiceConnection,
|
||||||
KubernetesServiceConnection,
|
KubernetesServiceConnection,
|
||||||
Outpost,
|
Outpost,
|
||||||
OutpostConfig,
|
|
||||||
OutpostType,
|
OutpostType,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -33,14 +30,12 @@ class OutpostManager(ObjectManager):
|
||||||
created_callback=outpost_created,
|
created_callback=outpost_created,
|
||||||
name="authentik Embedded Outpost",
|
name="authentik Embedded Outpost",
|
||||||
type=OutpostType.PROXY,
|
type=OutpostType.PROXY,
|
||||||
_config=asdict(
|
_config={
|
||||||
OutpostConfig(
|
# We don't use OutpostConfig here to not override authentik_host
|
||||||
authentik_host="",
|
"kubernetes_disabled_components": [
|
||||||
kubernetes_disabled_components=[
|
|
||||||
"deployment",
|
"deployment",
|
||||||
"secret",
|
"secret",
|
||||||
],
|
],
|
||||||
)
|
},
|
||||||
),
|
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
Reference in New Issue