From d9956e1e9cd6a170887f41841c4dc8ddcd6994a2 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 15 Dec 2020 21:17:33 +0100 Subject: [PATCH] outpost: fix invalid incluster config causing Outpost Service Connection list to fail --- authentik/outposts/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/outposts/models.py b/authentik/outposts/models.py index 43a55590f..7aaed3380 100644 --- a/authentik/outposts/models.py +++ b/authentik/outposts/models.py @@ -247,7 +247,7 @@ class KubernetesServiceConnection(OutpostServiceConnection): return OutpostServiceConnectionState( version=version.git_version, healthy=True ) - except (OpenApiException, HTTPError): + except (OpenApiException, HTTPError, ServiceConnectionInvalid): return OutpostServiceConnectionState(version="", healthy=False) def client(self) -> ApiClient: