1
0
mirror of https://github.com/rancher/norman.git synced 2025-06-29 16:58:05 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
Dan Ramich
e40cd8f347 Update cluster_check to use interface if available
Problem:
cluster_check relies on reflect which is slow and causes a large
performance hit which is especially noticable on restart

Solution:
Add a new interface ObjectClusterName that objects can implement so
reflect isn't used for that type
2020-03-02 10:21:55 -07:00
Darren Shepherd
8d5d75c7b8 Check namespace for clusterName 2018-04-30 14:36:00 -07:00
kinarashah
93bfc4ea3a Check for cluster name in annotations 2018-04-06 10:21:13 -07:00
Craig Jellick
905797b50f Add suport for cluster scoped controllers
Some worload controllers need to watch resoruces in the mangement plane
and react to them. But, they should only react to resources that
correspond to their cluster. This adds framework support for that.
2018-01-16 09:04:15 -07:00