From e6dfa8294e4c612d57663e14f2d0fe42e80a83a0 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 7 May 2021 10:07:30 +0200 Subject: [PATCH] providers/proxy: use name.namespace for middleware service Signed-off-by: Jens Langhammer --- authentik/providers/proxy/controllers/k8s/traefik.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/providers/proxy/controllers/k8s/traefik.py b/authentik/providers/proxy/controllers/k8s/traefik.py index 2a75c01f7..681ee7b01 100644 --- a/authentik/providers/proxy/controllers/k8s/traefik.py +++ b/authentik/providers/proxy/controllers/k8s/traefik.py @@ -104,7 +104,7 @@ class TraefikMiddlewareReconciler(KubernetesObjectReconciler[TraefikMiddleware]) ), spec=TraefikMiddlewareSpec( forwardAuth=TraefikMiddlewareSpecForwardAuth( - address=f"http://{self.name}:4180/akprox/auth?traefik", + address=f"http://{self.name}.{self.namespace}:4180/akprox/auth?traefik", authResponseHeaders=[ "Set-Cookie", "X-Auth-Username",