From 701c140cfdcd50caff71381612cc6877769bc0c3 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 5 May 2021 20:28:13 +0200 Subject: [PATCH] providers/proxy: fix logic error for ingress lookup Signed-off-by: Jens Langhammer --- authentik/providers/proxy/controllers/k8s/ingress.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authentik/providers/proxy/controllers/k8s/ingress.py b/authentik/providers/proxy/controllers/k8s/ingress.py index 79a9790d0..09eb56d65 100644 --- a/authentik/providers/proxy/controllers/k8s/ingress.py +++ b/authentik/providers/proxy/controllers/k8s/ingress.py @@ -52,7 +52,7 @@ class IngressReconciler(KubernetesObjectReconciler[NetworkingV1beta1Ingress]): expected_hosts_tls = [] for proxy_provider in ProxyProvider.objects.filter( outpost__in=[self.controller.outpost], - forward_auth_mode=True, + forward_auth_mode=False, ): proxy_provider: ProxyProvider external_host_name = urlparse(proxy_provider.external_host) @@ -101,7 +101,7 @@ class IngressReconciler(KubernetesObjectReconciler[NetworkingV1beta1Ingress]): tls_hosts = [] for proxy_provider in ProxyProvider.objects.filter( outpost__in=[self.controller.outpost], - forward_auth_mode=True, + forward_auth_mode=False, ): proxy_provider: ProxyProvider external_host_name = urlparse(proxy_provider.external_host)