Skip to content

Commit

Permalink
Revert "Revert "Add CNINode to cache filter (#3164)""
Browse files Browse the repository at this point in the history
This reverts commit b9fb02f.
  • Loading branch information
orsenthil committed Feb 10, 2025
1 parent b9fb02f commit edc07d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/k8sapi/k8sutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ func getIPAMDCacheFilters() map[client.Object]cache.ByObject {
&corev1.Node{}: {
Field: fields.Set{"metadata.name": nodeName}.AsSelector(),
},
&rcscheme.CNINode{}: {
Field: fields.Set{"metadata.name": nodeName}.AsSelector(),
},
}
}
return nil
Expand Down

0 comments on commit edc07d2

Please sign in to comment.