You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🐛 Modify multinamespaced cache to support cluster scoped resources (#1418)
* 🐛 Modify multinamespaced cache to support cluster scoped resources
This PR modifies the multinamespacedcache implementation to:
- create a global cache mapping for an empty namespace, so that when
cluster scoped resources are fetched, namespace is not required.
- deduplicate the objects in the `List` call, based on
unique combination of resource name and namespace.
Signed-off-by: varshaprasad96 <varshaprasad96@gmail.com>
* Add restmapper to multinamespaced cache
* Use restmapper to identify scope of the object
Modify multinamespaced cache to accept restmapper, which
can be used to identify the scope of the object and handle
the cluster scoped objects accordingly.
* Rename fileter.go to objectutil.go
Signed-off-by: varshaprasad96 <varshaprasad96@gmail.com>
0 commit comments