providers/proxy: use name.namespace for middleware service

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-05-07 10:07:30 +02:00
parent e5a5a5c603
commit e6dfa8294e

View file

@ -104,7 +104,7 @@ class TraefikMiddlewareReconciler(KubernetesObjectReconciler[TraefikMiddleware])
), ),
spec=TraefikMiddlewareSpec( spec=TraefikMiddlewareSpec(
forwardAuth=TraefikMiddlewareSpecForwardAuth( forwardAuth=TraefikMiddlewareSpecForwardAuth(
address=f"http://{self.name}:4180/akprox/auth?traefik", address=f"http://{self.name}.{self.namespace}:4180/akprox/auth?traefik",
authResponseHeaders=[ authResponseHeaders=[
"Set-Cookie", "Set-Cookie",
"X-Auth-Username", "X-Auth-Username",