apiserver/pkg
xyz-li e5e53b7acc apiserver: fix watch namespace
For request like '/api/v1/watch/namespaces/*', don't set scope.namespace.
Because the func `addWatcher` add a watcher to allWatchers with the value `scope.namespace` not empty.
But the function `dispatchEvent` dispatch event with an empty namespace.

Signed-off-by: xyz-li <hui0787411@163.com>

Kubernetes-commit: 818fabe37b3fd7cebe36a43244120388977373cd
2024-05-27 17:48:49 +08:00
..
admission Use canonical json-patch v4 import 2024-02-16 13:57:24 +01:00
apis Adding the feature gates to fix cost for VAP and webhook matchConditions. 2024-05-01 16:26:41 -07:00
audit Initialize the AuditEvent with the AuditContext (#113611) 2023-07-03 18:28:13 +00:00
authentication Adding the feature gates to fix cost for VAP and webhook matchConditions. 2024-05-01 16:26:41 -07:00
authorization Adding the feature gates to fix cost for VAP and webhook matchConditions. 2024-05-01 16:26:41 -07:00
cel Update cel env to 1.30 2024-05-09 15:39:30 -07:00
endpoints kube-apiserver: remove deprecated otel NewNoopTracerProvider 2024-06-07 19:57:37 +02:00
features Implement ResilientWatchCacheInitialization 2024-04-29 14:19:46 +02:00
quota/v1 benchmark test to evaluate the overhead of podMatchesScopeFunc 2023-05-04 16:55:32 -07:00
reconcilers Cleanup defer from SetFeatureGateDuringTest function call 2024-04-23 10:39:47 +02:00
registry Fix flaking TestStoreListResourceVersion 2024-06-11 23:12:23 -03:00
server Use canonical json-patch v4 import 2024-02-16 13:57:24 +01:00
storage apiserver: fix watch namespace 2024-05-27 17:48:49 +08:00
storageversion add list of served versions to storage version 2023-07-12 18:27:27 -04:00
util Feat: warn user if etcd version is not supported for RequestWatchProgress 2024-04-29 15:56:35 +03:30
warning track legacy service account tokens 2022-03-21 14:21:41 -07:00