From 5d6ca2b9fa9fdf4a4e65729729edabf8fe1d43c3 Mon Sep 17 00:00:00 2001 From: Philipp Kolberg Date: Sat, 28 Oct 2023 22:52:45 +0200 Subject: [PATCH] Fix linter issues. --- authentik/providers/proxy/controllers/k8s/ingress.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/authentik/providers/proxy/controllers/k8s/ingress.py b/authentik/providers/proxy/controllers/k8s/ingress.py index 3e1d183e1..b20595d1c 100644 --- a/authentik/providers/proxy/controllers/k8s/ingress.py +++ b/authentik/providers/proxy/controllers/k8s/ingress.py @@ -165,10 +165,12 @@ class IngressReconciler(KubernetesObjectReconciler[V1Ingress]): rules.append(rule) tls_config = None if tls_hosts: - tls_config = [V1IngressTLS( - hosts=tls_hosts, - secret_name=self.controller.outpost.config.kubernetes_ingress_secret_name, - )] + tls_config = [ + V1IngressTLS( + hosts=tls_hosts, + secret_name=self.controller.outpost.config.kubernetes_ingress_secret_name, + ) + ] spec = V1IngressSpec( rules=rules, tls=tls_config,