From ea97e0856b2e4a833f9d877d923f6eaeee0a2b5a Mon Sep 17 00:00:00 2001 From: Antoni Zawodny Date: Thu, 25 Jul 2024 11:47:21 +0200 Subject: [PATCH] feat: make cluster cache target the watch cache instead of etcd Signed-off-by: Antoni Zawodny --- pkg/cache/cluster.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/cache/cluster.go b/pkg/cache/cluster.go index 3f662effc..6cae567cc 100644 --- a/pkg/cache/cluster.go +++ b/pkg/cache/cluster.go @@ -553,6 +553,7 @@ func (c *clusterCache) listResources(ctx context.Context, resClient dynamic.Reso } listRetry.Steps = int(c.listRetryLimit) + opts.ResourceVersion = "0" err := retry.OnError(listRetry, c.listRetryFunc, func() error { var ierr error res, ierr = resClient.List(ctx, opts)