Skip to content

Commit

Permalink
Trigger reconciliation on change to the GitopsCluster
Browse files Browse the repository at this point in the history
  • Loading branch information
bigkevmcd committed Nov 10, 2023
1 parent 55c5023 commit 96fddd2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ func (r *AutomatedClusterDiscoveryReconciler) SetupWithManager(mgr ctrl.Manager)
return ctrl.NewControllerManagedBy(mgr).
For(&clustersv1alpha1.AutomatedClusterDiscovery{}, builder.WithPredicates(
predicate.Or(predicate.GenerationChangedPredicate{}, predicates.ReconcileRequestedPredicate{}))).
Owns(&gitopsv1alpha1.GitopsCluster{}, builder.MatchEveryOwner).
Complete(r)
}

Expand Down

0 comments on commit 96fddd2

Please sign in to comment.