outposts: by default only check labels

This commit is contained in:
Jens Langhammer 2021-01-02 01:08:05 +01:00
parent 85c2db018e
commit 6fe323f1a7

View file

@ -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):