-
Notifications
You must be signed in to change notification settings - Fork 1.8k
doc: add note to described the possibility to use MultiNamespacedCach… #2281
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
doc: add note to described the possibility to use MultiNamespacedCach… #2281
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/hold
Until kubernetes-sigs/controller-runtime#701 is merged.
Hi @joelanford, removed the hold since it the kubernetes-sigs/controller-runtime#701 is merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
// Create a new Cmd to provide shared dependencies and start components | ||
mgr, err := manager.New(cfg, manager.Options{ | ||
NewCache: cache.MultiNamespacedCacheBuilder(namespaces), | ||
MapperProvider: restmapper.NewDynamicRESTMapper, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that kubernetes-sigs/controller-runtime#554 is merged and we've updated to v0.4.0, we should remove our dynamic rest mapper implementation and any references to it.
That can be done in a follow up though.
Description of the change:
Motivation for the change:
Note: If this PR is fixing an issue make sure to add a note saying:
Closes #2008