Skip to content

Commit

Permalink
Add label watch perdicate
Browse files Browse the repository at this point in the history
  • Loading branch information
iyuroch committed Jul 13, 2023
1 parent c56b03a commit 5732c95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/cluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ func (r *FoundationDBClusterReconciler) SetupWithManager(mgr ctrl.Manager, maxCo
predicate.And(
labelSelectorPredicate,
predicate.Or(
predicate.LabelChangedPredicate{},
predicate.GenerationChangedPredicate{},
predicate.AnnotationChangedPredicate{},
),
Expand Down

0 comments on commit 5732c95

Please sign in to comment.