Skip to content

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

Closed
shawn-hurley wants to merge 3 commits into
operator-framework:masterfrom
shawn-hurley:feature/multi-namespace-cache
Closed

WIP/POC: pkg/cache;pkg/manager - Adding multi name spaced cache#785
shawn-hurley wants to merge 3 commits into
operator-framework:masterfrom
shawn-hurley:feature/multi-namespace-cache

Conversation

@shawn-hurley
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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