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

multiNamespaceInformer lack GetIndexer func #3010

Open
furykerry opened this issue Nov 12, 2024 · 0 comments
Open

multiNamespaceInformer lack GetIndexer func #3010

furykerry opened this issue Nov 12, 2024 · 0 comments

Comments

@furykerry
Copy link

Code-generator lister need an indexer to initialize, but multiNamespaceInformer does not implement GetIndexer func as sharedIndexInformer, what is the correct way to initialize a lister from multiNamespaceInformer?

lister: https://github.com/kubernetes/code-generator/blob/master/cmd/lister-gen/generators/lister.go
multiNamespaceInformer: https://github.com/kubernetes-sigs/controller-runtime/blob/main/pkg/cache/multi_namespace_cache.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant