Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support auto generation of Subscriptions identity service account and… #7338

Merged
merged 8 commits into from
Oct 16, 2023
4 changes: 4 additions & 0 deletions pkg/reconciler/subscription/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ func NewController(
}
})

globalResync = func(obj interface{}) {
xiangpingjiang marked this conversation as resolved.
Show resolved Hide resolved
impl.GlobalResync(subscriptionInformer.Informer())
}

subscriptionInformer.Informer().AddEventHandler(controller.HandleAll(impl.Enqueue))

// Trackers used to notify us when the resources Subscription depends on change, so that the
Expand Down