Skip to content

Commit

Permalink
trigger controller
Browse files Browse the repository at this point in the history
Signed-off-by: Abhradeep Chakraborty <abhradeep@dragonflydb.io>
  • Loading branch information
Abhra303 committed Aug 15, 2024
1 parent bbc4c64 commit 589875c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/controller/dragonfly_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ func (r *DragonflyReconciler) SetupWithManager(mgr ctrl.Manager) error {
return ctrl.NewControllerManagedBy(mgr).
// Listen only to spec changes
For(&dfv1alpha1.Dragonfly{}, builder.WithPredicates(predicate.GenerationChangedPredicate{})).
Owns(&appsv1.StatefulSet{}).
Owns(&corev1.Service{}).
Owns(&appsv1.StatefulSet{}, builder.MatchEveryOwner).
Owns(&corev1.Service{}, builder.MatchEveryOwner).
Complete(r)
}

0 comments on commit 589875c

Please sign in to comment.