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

WIP/POC: pkg/cache;pkg/manager - Adding multi name spaced cache #785

Conversation

shawn-hurley
Copy link
Member

Description of the change:
Adding a POC WIP for a multi namespaced PR

Motivation for the change:
Attempt to allow watching multi namespaces

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 29, 2018
}
}

func (m *multiNamesapceIndexInformer) GetStore() toolscache.Store {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hasbro17 This is the stuff that would be hard to expose. This, GetController and the LastSyncResourceVersion()

I think it may be fine to not have access to the controller or the store. People should very rarely need access to these from what I have seen. (especially the Store). Also have already set up the watches and the like so not having access to the LastSyncResourceVersion or the controller shouldn't cause issues as far as I can tell.

I think that is the biggest drawback from this approach.

@shawn-hurley
Copy link
Member Author

Closing in favor of kubernetes-sigs/controller-runtime#267

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants