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

Add APIBinding controller, replace inheritFrom with APIBindings #755

Merged
merged 12 commits into from
Mar 25, 2022
Prev Previous commit
Next Next commit
server: add TODO to get rid of root informers
  • Loading branch information
sttts committed Mar 25, 2022
commit 013538b96056acf64e334857a56e74c96a23f8f7
6 changes: 4 additions & 2 deletions pkg/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,12 @@ type Server struct {
syncedCh chan struct{}

kcpSharedInformerFactory kcpexternalversions.SharedInformerFactory
rootKcpSharedInformerFactory kcpexternalversions.SharedInformerFactory
kubeSharedInformerFactory coreexternalversions.SharedInformerFactory
rootKubeSharedInformerFactory coreexternalversions.SharedInformerFactory
apiextensionsSharedInformerFactory apiextensionsexternalversions.SharedInformerFactory

// TODO(sttts): get rid of these. We have wildcard informers already.
rootKcpSharedInformerFactory kcpexternalversions.SharedInformerFactory
rootKubeSharedInformerFactory coreexternalversions.SharedInformerFactory
}

// NewServer creates a new instance of Server which manages the KCP api-server.
Expand Down