Skip to content

Commit

Permalink
feat: make cluster cache target the watch cache instead of etcd
Browse files Browse the repository at this point in the history
Signed-off-by: Antoni Zawodny <[email protected]>
  • Loading branch information
tosi3k committed Jul 25, 2024
1 parent 6b2984e commit ea97e08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cache/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ea97e08

Please sign in to comment.