apiserver/pkg/storage
xyz-li 36207c1fc4 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: 70fdb7b1c533454a2cd5dfa666a0251dbdf54400
2024-05-27 17:48:49 +08:00
..
cacher apiserver: fix watch namespace 2024-05-27 17:48:49 +08:00
errors Revert "Make the decode function respect the timeout context" 2023-10-31 16:27:17 +01:00
etcd3 Rename `cluster` to `storage_cluster_id` for apiserver_storage_size_bytes metric 2024-04-11 15:06:03 -04:00
names grammar: replace all occurrences of "the the" with "the" 2022-09-17 22:58:01 +02:00
storagebackend Cleanup paging parameters in etcd3 store 2023-10-20 15:38:59 +02:00
testing apiserver/storage/cacher: decrease the running time of tests in the cacher package. 2024-03-12 09:15:55 +01:00
testresource storage: isolate the test resource 2022-05-11 09:05:18 -07:00
value [KMSv2] promote KMSv2 and KMSv2KDF to GA 2023-10-24 09:50:45 -07:00
OWNERS storage: Add MadhavJivrajani as reviewer 2023-06-07 17:37:44 +05:30
api_object_versioner.go storage: move the APIObjectVersioner definition to storage 2022-05-11 07:44:21 -07:00
api_object_versioner_test.go storage: isolate the test resource 2022-05-11 09:05:18 -07:00
continue.go add explicit typing for continue tests 2022-05-31 10:23:07 -07:00
continue_test.go add explicit typing for continue tests 2022-05-31 10:23:07 -07:00
doc.go move pkg/storage to apiserver 2017-02-01 07:33:52 -05:00
errors.go Revert "Make the decode function respect the timeout context" 2023-10-31 16:27:17 +01:00
interfaces.go storage: document ProgressNotify from storage.ListOptions 2023-09-01 10:48:36 +02:00
selection_predicate.go Partition watchers by namespace/name scope 2023-02-05 18:46:19 -05:00
selection_predicate_test.go Fix staticcheck failures 2021-04-02 12:23:30 +08:00
util.go storage/util: introduce HasInitialEventsEndBookmarkAnnotation 2023-09-18 11:39:08 +02:00
util_test.go Cleanup paging parameters in etcd3 store 2023-10-20 15:38:59 +02:00