diff --git a/authentik/outposts/controllers/k8s/base.py b/authentik/outposts/controllers/k8s/base.py index 4a2126b45..800f7316f 100644 --- a/authentik/outposts/controllers/k8s/base.py +++ b/authentik/outposts/controllers/k8s/base.py @@ -10,6 +10,7 @@ from structlog.stdlib import get_logger from authentik import __version__ from authentik.lib.sentry import SentryIgnoredException +from authentik.outposts.managed import MANAGED_OUTPOST if TYPE_CHECKING: from authentik.outposts.controllers.kubernetes import KubernetesController @@ -43,7 +44,7 @@ class KubernetesObjectReconciler(Generic[T]): @property def is_embedded(self) -> bool: """Return true if the current outpost is embedded""" - return self.controller.outpost.managed != "" + return self.controller.outpost.managed == MANAGED_OUTPOST @property def noop(self) -> bool: