outposts: by default only check labels
This commit is contained in:
parent
85c2db018e
commit
6fe323f1a7
|
@ -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):
|
||||||
|
|
Reference in New Issue