From 6fe323f1a79ee850b9c735f7b915f092c51a7ae2 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 2 Jan 2021 01:08:05 +0100 Subject: [PATCH] outposts: by default only check labels --- authentik/outposts/controllers/k8s/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/outposts/controllers/k8s/base.py b/authentik/outposts/controllers/k8s/base.py index a79a5b8d5..5430e8915 100644 --- a/authentik/outposts/controllers/k8s/base.py +++ b/authentik/outposts/controllers/k8s/base.py @@ -93,7 +93,7 @@ class KubernetesObjectReconciler(Generic[T]): def reconcile(self, current: T, reference: T): """Check what operations should be done, should be raised as ReconcileTrigger""" - if current.metadata.annotations != reference.metadata.annotations: + if current.metadata.labels != reference.metadata.labels: raise NeedsUpdate() def create(self, reference: T):