We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8d2331 commit 3b10e90Copy full SHA for 3b10e90
pkg/controller/observer.go
@@ -110,7 +110,7 @@ func (c *Observer) refresh() error {
110
111
client := cl.Resource(res.ar.DeepCopy(), metav1.NamespaceAll)
112
113
- selector := metav1.ListOptions{}
+ selector := metav1.ListOptions{LabelSelector: c.config.Filter}
114
lw := &cache.ListWatch{
115
ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
116
return client.List(selector)
0 commit comments