Commit Graph

19937 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
2eb2a62e15 Merge pull request #121906 from ahutsunshine/namespace-indexer
support namespace indexer for namespaced resources like pods
2023-12-13 23:55:46 +01:00
Kubernetes Prow Robot
b0ccc04e47 Merge pull request #121846 from Iceber/sets_keyset
Set the initial length of set[T] in sets.KeySet
2023-12-13 23:55:19 +01:00
Kubernetes Prow Robot
9165592219 Merge pull request #121815 from HirazawaUi/decode-respect-timeout-context
make the decode function respect the timeout context
2023-12-13 23:55:10 +01:00
Kubernetes Prow Robot
508e3b94fe Merge pull request #121771 from pohly/apimachinery-encoding-shortcut
encoding: avoid setting GVK unnecessarily
2023-12-13 23:54:34 +01:00
Kubernetes Prow Robot
8a22571ebb Merge pull request #121759 from thockin/fix_api_violations
Fix "list_type_missing" API violations in meta/v1
2023-12-13 23:54:08 +01:00
Kubernetes Prow Robot
cbe5b1e107 Merge pull request #121741 from xgp01/update-util-sets-with-package-cmp
update util/sets to use standard package cmp
2023-12-13 22:35:45 +01:00
Kubernetes Prow Robot
09c5396607 Merge pull request #121625 from siyuanfoundation/refactor2
k8s.io/apiserver/storage/etcd: refactor etcd GetList.
2023-12-13 22:34:24 +01:00
Kubernetes Prow Robot
f7def00e66 Merge pull request #121624 from jiahuif-forks/fix/cel/lazy-map-context-eval
CEL lazy map: use context for lazy evaluation.
2023-12-13 22:34:15 +01:00
Kubernetes Prow Robot
d6fe8dbc6e Merge pull request #121411 from thockin/master
Fix kube_codegen for some uncovered external cases
2023-12-13 21:26:18 +01:00
Kubernetes Prow Robot
d187ea3d03 Merge pull request #121043 from calvin0327/cleanup-return
cli: cleanup the retrun style for cp execute function
2023-12-13 21:26:00 +01:00
Kubernetes Prow Robot
db82260c65 Merge pull request #117046 from howardjohn/client/add-indexer-after-start
client-go: allow adding indexes after informer starts
2023-12-13 21:25:06 +01:00
Kubernetes Prow Robot
d2fc690421 Merge pull request #116209 from haoruan/feature-csidriver-fields-mutable
Allow FSGroupPolicy and PodInfoOnMount to be mutable in CSIDriver.Spec
2023-12-13 21:24:57 +01:00
Marko Mudrinić
8f5efce8e0 Update publishing-bot rules to Go 1.20.12
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2023-12-13 18:00:34 +01:00
Marko Mudrinić
1c1347a3e7 [go] Bump images, dependencies and versions to go 1.21.5
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2023-12-06 10:36:35 +01:00
Kevin Hannon
4e5321c92e add beta comment for pod replacement policy 2023-12-05 13:17:24 -05:00
ahutsunshine
d8bd150784 support pod namespace indexer
fix comments

optimize code

small optimization for the namespace scope check
2023-11-30 18:39:09 +08:00
Kubernetes Prow Robot
a8f6ea2420 Merge pull request #121927 from alexanderConstantinescu/fix-flaky-TestSlowNodeSync
`TestSlowNodeSync`: attempt fixing flake by allowing informer cache to get populated
2023-11-29 05:23:20 +01:00
Tim Hockin
eddf65849d Fix list_type_missing in k8s.io/apiserver 2023-11-27 12:24:10 -08:00
Tim Hockin
18f3941c24 Fix list_type_missing in k8s.io/metrics 2023-11-27 12:06:33 -08:00
Tim Hockin
58fb9f6e66 Fix list_type_missing in api/storage 2023-11-27 12:06:32 -08:00
Tim Hockin
e96578fb4d Fix list_type_missing in api/rbac 2023-11-27 12:06:31 -08:00
Tim Hockin
b2458e456a Fix list_type_missing in api/networking 2023-11-27 12:06:30 -08:00
Tim Hockin
7fc3ef1fec Fix list_type_missing in api/imagepolicy 2023-11-27 12:06:29 -08:00
Tim Hockin
cddfa43769 Fix list_type_missing in api/extensions 2023-11-27 12:06:29 -08:00
Tim Hockin
cfe146615a Fix list_type_missing in api/core 2023-11-27 12:06:28 -08:00
Tim Hockin
fe902f7384 Fix list_type_missing in api/autoscaling 2023-11-27 12:06:27 -08:00
Tim Hockin
ad39737397 Fix list_type_missing in api/authorization 2023-11-27 12:06:26 -08:00
Tim Hockin
b24cffb174 Fix list_type_missing in api/authentication 2023-11-27 12:06:25 -08:00
Tim Hockin
a3ea994fa2 Fix list_type_missing in api/apps 2023-11-27 12:06:24 -08:00
Tim Hockin
460df86f2a Fix list_type_missing in api/admissionregistration 2023-11-27 12:06:23 -08:00
Tim Hockin
b8982be268 Fix list_type_missing in sample-apiserver 2023-11-27 12:06:22 -08:00
Tim Hockin
e9bd9262dc Fix list_type_missing in apiextensions-apiserver 2023-11-27 12:06:21 -08:00
Tim Hockin
1f55357d99 Re-vendor k8s.io/kube-openapi
./hack/pin-dependency.sh k8s.io/kube-openapi 778a5567bc1edaed92a4de9c07f90199c67953fa

./hack/update-vendor.sh
2023-11-27 12:06:19 -08:00
Tim Hockin
44060fb1f3 Fix "list_type_missing" API violations in meta/v1
This assumes that any such field is atomic, except:
  * OwnerReferences: because it has a `+patchStrategy=merge`, but it
    probably needs a `+listMapKey=...` ?
  * Finalizers: because it hs a `+patchStrategy=merge`, but is a
    primitive type (string).
  * []byte fields, which should not be failing this anyway (fixed
    subsequently).

An alternative approach could be just to turn off the API warnings for
these fields, but it felt more correct to declare the semantics.
2023-11-27 12:05:52 -08:00
Jeremy Rickard
f042994cb0 releng: update publishing bot rules for 1.29
Signed-off-by: Jeremy Rickard <jeremyrrickard@gmail.com>
2023-11-21 18:05:46 -07:00
Patrick Ohly
af34f62170 code-generator: fix invalid replace of klog
The replace statement must have come from a experimental draft PR. It wasn't
meant to be merged as part of 878d037d3b.
2023-11-20 15:51:04 +01:00
Patrick Ohly
f0aab8c984 encoding: avoid setting GVK unnecessarily
Setting the group/version/kind is not necessary when the object already has it.
In that particular case some extra work and the data race when the
same object is used multiple times in parallel can be avoided.
2023-11-20 10:08:34 +01:00
Alexander Constantinescu
dd6e286a1a TestSlowNodeSync: fix flake by allowing informer cache to get populated 2023-11-17 15:21:16 +01:00
Kubernetes Prow Robot
8509ab82b9 Merge pull request #121851 from andyzhangx/fix-smb-IsCorruptedMnt
fix: statle smb mount issue when smb file share is deleted and then unmount
2023-11-16 17:02:35 +01:00
Kubernetes Prow Robot
620bc81d97 Merge pull request #121881 from cji/5528
Use golang library instead of mklink
2023-11-14 23:02:08 +01:00
Kubernetes Prow Robot
1bb2773153 Merge pull request #121870 from cpanato/rulesup
Update publishing-bot rules for active release branches that uses go120 to Go 1.20.11
2023-11-14 20:05:10 +01:00
cpanato
8c68aa656b Update publishing-bot rules for active release branches that uses go120 to Go 1.20.11
Signed-off-by: cpanato <ctadeu@gmail.com>
2023-11-14 18:56:52 +01:00
Kubernetes Prow Robot
77d72a30e1 Merge pull request #121091 from alexanderConstantinescu/kccm-service-sync-fix
KCCM: fix transient node addition + removal while syncing load balancers
2023-11-14 17:17:10 +01:00
Kubernetes Prow Robot
68e3cedce2 Merge pull request #121822 from ritazh/webhookauthz-benchmark
[StructuredAuthz] Webhookauthz benchmark
2023-11-14 14:50:37 +01:00
Rita Zhang
7c5dfceff8 add false matchCondition benchmark
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2023-11-13 09:22:24 -08:00
Alexander Constantinescu
f9ab24bf48 Refine test case 2023-11-13 17:54:22 +01:00
andyzhangx
172f680326 fix: smb file share unavailable issue when it's deleted 2023-11-13 05:04:34 +00:00
Iceber Gu
33aa56097a Set the initial length of set[T] in sets.KeySet
Signed-off-by: Iceber Gu <caiwei95@hotmail.com>
2023-11-12 00:15:05 +08:00
Rita Zhang
11cdb8fd01 split compile and eval
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2023-11-08 16:37:10 -08:00
Rita Zhang
fe53db0dbd authz: add benchmark for webhook authorizer
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2023-11-08 15:38:11 -08:00