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: