From 7859145138f48f7c39c73772c5ff261fb00c89aa Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 12 Dec 2021 17:13:26 +0100 Subject: [PATCH] outposts: don't try to create docker client for embedded outpost Signed-off-by: Jens Langhammer --- authentik/outposts/controllers/docker.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/authentik/outposts/controllers/docker.py b/authentik/outposts/controllers/docker.py index 9867f5b3b..ad044880e 100644 --- a/authentik/outposts/controllers/docker.py +++ b/authentik/outposts/controllers/docker.py @@ -24,6 +24,8 @@ class DockerController(BaseController): def __init__(self, outpost: Outpost, connection: DockerServiceConnection) -> None: super().__init__(outpost, connection) + if outpost.managed == MANAGED_OUTPOST: + return try: self.client = connection.client() except ServiceConnectionInvalid as exc: