weave-gitops icon indicating copy to clipboard operation
weave-gitops copied to clipboard

Research if we can change the way we query events so we can use the cache

Open yiannistri opened this issue 2 years ago • 0 comments

We have an outstanding TODO in core/clustermngr/cluster/delegating_cache.go#69

// Non-exact field matches are not supported by the cache.
// https://github.com/kubernetes-sigs/controller-runtime/issues/612
// TODO: Research if we can change the way we query those events so we can enable the cache for it.
DisableFor:   []client.Object{&v1.Event{}},

yiannistri avatar Jul 04 '23 10:07 yiannistri