Only attempt to construct GC informers for watchable resources
This commit is contained in:
@@ -230,7 +230,7 @@ func (gb *GraphBuilder) syncMonitors(resources map[schema.GroupVersionResource]s
|
||||
kept := 0
|
||||
added := 0
|
||||
for resource := range resources {
|
||||
if _, ok := ignoredResources[resource.GroupResource()]; ok {
|
||||
if _, ok := gb.ignoredResources[resource.GroupResource()]; ok {
|
||||
continue
|
||||
}
|
||||
if m, ok := toRemove[resource]; ok {
|
||||
|
Reference in New Issue
Block a user