From 5062d6c4c46ee3950d3b7762cc86cf2cd7fbba4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gell=C3=A9rt=20B=C3=A1bel?= Date: Fri, 24 Jul 2026 13:39:40 +0200 Subject: [PATCH] predicate: clarify predicates don't reduce cache memory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gellért Bábel --- pkg/predicate/predicate.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/predicate/predicate.go b/pkg/predicate/predicate.go index 6b9e5ba1ba..d5086af3c3 100644 --- a/pkg/predicate/predicate.go +++ b/pkg/predicate/predicate.go @@ -30,6 +30,9 @@ import ( var log = logf.RuntimeLog.WithName("predicate").WithName("eventFilters") // Predicate filters events before enqueuing the keys. +// +// NOTE: This does not affect what the cache stores. That is configured via +// cache.Options, which are global to all users of the cache. type Predicate = TypedPredicate[client.Object] // TypedPredicate filters events before enqueuing the keys.