From 346c6e6a85469ce77c942385eb34eea85f67e7b2 Mon Sep 17 00:00:00 2001 From: Yip Rui Fung Date: Mon, 24 Jul 2023 18:25:29 +0800 Subject: [PATCH] outposts: Fix infinite self-recursion in traefik reconciler. (#6336) Fix infinite self-recursion in traefik reconciler. --- authentik/providers/proxy/controllers/k8s/traefik.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/authentik/providers/proxy/controllers/k8s/traefik.py b/authentik/providers/proxy/controllers/k8s/traefik.py index f6229abc6..4be643867 100644 --- a/authentik/providers/proxy/controllers/k8s/traefik.py +++ b/authentik/providers/proxy/controllers/k8s/traefik.py @@ -26,19 +26,19 @@ class TraefikMiddlewareReconciler(KubernetesObjectReconciler): return self.reconciler.noop def reconcile(self, current: TraefikMiddleware, reference: TraefikMiddleware): - return self.reconcile(current, reference) + return self.reconciler.reconcile(current, reference) def get_reference_object(self) -> TraefikMiddleware: - return self.get_reference_object() + return self.reconciler.get_reference_object() def create(self, reference: TraefikMiddleware): - return self.create(reference) + return self.reconciler.create(reference) def delete(self, reference: TraefikMiddleware): - return self.delete(reference) + return self.reconciler.delete(reference) def retrieve(self) -> TraefikMiddleware: - return self.retrieve() + return self.reconciler.retrieve() def update(self, current: TraefikMiddleware, reference: TraefikMiddleware): - return self.update(current, reference) + return self.reconciler.update(current, reference)