kubernetes/pkg/controller
Patrick Ohly 6bfa727bee client-go testing: fix List+Watch support
5644850607 added support for List+Watch to a fake client-go instance.
However, that support was not quite working yet as seen when analyzing a test
flake:

- List returned early when there were no objects, without adding the
  ResourceVersion. The ResourceVersion should have been "0" instead.
- When encountering "" as ResourceVersion, Watch didn't deliver
  any objects. That was meant to preserve compatibility with clients
  which don't expect objects from a Watch, but the right semantic of
  "" is "Start at most recent", which includes delivering existing
  objects.

Tests which meddle with the List implementation via a reactor (like
clustertrustbundlepublisher) have to be aware that Watch now may
return objects when given an empty ResourceVersion.
2026-01-15 16:08:23 +01:00
..
apis/config Make ConcurrentResourceClaimSyncs configurable (#134701) 2026-01-08 19:31:39 +05:30
bootstrap controller/bootstrap: Improve goroutine mgmt 2025-10-29 18:55:53 +01:00
certificates client-go testing: fix List+Watch support 2026-01-15 16:08:23 +01:00
clusterroleaggregation controller/clusterroleaggregation: Improve goroutine mgmt 2025-10-29 19:00:30 +01:00
cronjob controller/cronjob: Improve goroutine mgmt 2025-10-29 19:00:30 +01:00
daemon KEP-5471: Extend tolerations operators (#134665) 2025-11-10 12:42:54 -08:00
deployment Update benchmark for deployment 2026-01-08 15:10:32 +00:00
devicetainteviction Fix flake TestDeviceTaintRule test by adjusting event hanlder status update logic 2026-01-06 11:00:06 +05:30
disruption controller/disruption: Improve goroutine mgmt 2025-10-29 19:00:31 +01:00
endpoint controller/endpoint: Improve goroutine mgmt 2025-10-29 19:00:31 +01:00
endpointslice controller/endpointslice: Improve goroutine mgmt 2025-10-29 19:00:31 +01:00
endpointslicemirroring controller/endpointslicemirroring: Improve goroutine mgmt 2025-10-29 19:04:37 +01:00
garbagecollector Merge pull request #135625 from atiratree/quotamonitor-race 2026-01-08 17:19:38 +05:30
history Remove unused and fragile revision hash comparisons 2025-11-03 16:33:40 -05:00
job Merge pull request #133797 from tico88612/cleanup/new-fake-with-options 2026-01-08 03:01:38 +05:30
namespace controller/namespace: Improve goroutine mgmt 2025-10-29 19:04:37 +01:00
nodeipam Fix goroutine leak in TestNodeSyncResync 2025-11-11 21:19:28 +05:30
nodelifecycle controller/nodelifecycle: Improve goroutine mgmt 2025-10-29 19:04:38 +01:00
podautoscaler Merge pull request #133797 from tico88612/cleanup/new-fake-with-options 2026-01-08 03:01:38 +05:30
podgc controller/podgc: Improve goroutine mgmt 2025-10-29 19:04:37 +01:00
replicaset Merge pull request #133797 from tico88612/cleanup/new-fake-with-options 2026-01-08 03:01:38 +05:30
replication disable terminatingReplicas reconciliation in ReplicationController 2025-05-30 21:08:12 +02:00
resourceclaim Make ConcurrentResourceClaimSyncs configurable (#134701) 2026-01-08 19:31:39 +05:30
resourcequota Merge pull request #135625 from atiratree/quotamonitor-race 2026-01-08 17:19:38 +05:30
serviceaccount controller/serviceaccount: Improve goroutine mgmt 2025-11-04 23:58:15 +01:00
servicecidrs controller/servicecidrs: Improve goroutine mgmt 2025-10-29 19:07:10 +01:00
statefulset schedule pod availability checks at the correct time in StatefulSets (#135428) 2025-12-17 22:35:21 -08:00
storageversiongc Merge pull request #134432 from Karthik-K-N/fix-sv-test 2025-11-05 06:56:52 -08:00
storageversionmigrator Correct the usage of vlog's .Error() or .V().Info() methods 2026-01-06 20:31:04 -05:00
tainteviction KEP-5471: Extend tolerations operators (#134665) 2025-11-10 12:42:54 -08:00
testutil Replace NewFake with NewFakeWithOptions in pkg/controller 2025-09-11 08:39:49 +08:00
ttl controller/ttl: Improve goroutine mgmt 2025-10-29 19:04:37 +01:00
ttlafterfinished controller/ttlafterfinished: Improve goroutine mgmt 2025-10-29 19:04:37 +01:00
util Fix Go vet errors for master golang 2024-09-20 12:36:38 +05:30
validatingadmissionpolicystatus controller/validatingadmissionpolicystatus: Improve goroutine mgmt 2025-10-29 19:07:10 +01:00
volume Merge pull request #133797 from tico88612/cleanup/new-fake-with-options 2026-01-08 03:01:38 +05:30
controller_ref_manager.go kube-controller-manager: finish conversion to contextual logging 2023-07-12 14:57:29 +02:00
controller_ref_manager_test.go Merge pull request #101250 from evertrain/master 2021-11-10 09:19:26 -08:00
controller_utils.go Include relevant dimensions in pod controller indexing 2025-10-16 13:27:50 -04:00
controller_utils_test.go Include relevant dimensions in pod controller indexing 2025-10-16 13:27:50 -04:00
doc.go remove import doc comments 2024-12-02 16:59:34 +01:00
OWNERS Add jefftree to OWNERS 2025-08-04 19:12:13 +00:00