Skip to content

Commit

Permalink
Fix issue crossplane#107, Add WithManagementPolicies to the template …
Browse files Browse the repository at this point in the history
…for Reconciler Initialization
  • Loading branch information
etesami committed Aug 30, 2024
1 parent 2e0b022 commit 12c78de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/helpers/controller/KIND_LOWER/KIND_LOWER.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ func Setup(mgr ctrl.Manager, o controller.Options) error {
managed.WithLogger(o.Logger.WithValues("controller", name)),
managed.WithPollInterval(o.PollInterval),
managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))),
managed.WithConnectionPublishers(cps...))
managed.WithConnectionPublishers(cps...),
managed.WithManagementPolicies())

return ctrl.NewControllerManagedBy(mgr).
Named(name).
Expand Down

0 comments on commit 12c78de

Please sign in to comment.