Skip to content

Commit

Permalink
fix: Reintroduce kyma event filter (#1854)
Browse files Browse the repository at this point in the history
* fix: Reintroduce event filter for kymas

* fix: Reintroduce event filter for kymas

* retrigger jobs
  • Loading branch information
lindnerby authored Sep 11, 2024
1 parent 4b981cf commit 506706a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/controller/kyma/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ func (r *Reconciler) SetupWithManager(mgr ctrl.Manager, opts ctrlruntime.Options
if err := ctrl.NewControllerManagedBy(mgr).For(&v1beta2.Kyma{}).
Named(controllerName).
WithOptions(opts).
WithEventFilter(predicates).
Watches(&v1beta2.ModuleTemplate{},
handler.EnqueueRequestsFromMapFunc(watch.NewTemplateChangeHandler(r).Watch()),
builder.WithPredicates(predicates)).
Expand Down

0 comments on commit 506706a

Please sign in to comment.