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
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class KubernetesObjectReconciler(Generic[T]):
def reconcile(self, current: T, reference: T): def reconcile(self, current: T, reference: T):
"""Check what operations should be done, should be raised as """Check what operations should be done, should be raised as
ReconcileTrigger""" ReconcileTrigger"""
if current.metadata.annotations != reference.metadata.annotations: if current.metadata.labels != reference.metadata.labels:
raise NeedsUpdate() raise NeedsUpdate()
def create(self, reference: T): def create(self, reference: T):