Wojciech Tyczyński
55e60db88b
Unify watch handler across http and websockets
2023-11-29 21:57:39 +01:00
Arda Güçlü
38c67af789
Use tristate for provideclusterinfo to manage provided flag
2023-11-29 08:58:59 +03: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
Mengjiao Liu
2d943801ad
Clean up unused type HealthcheckType.
2023-11-28 16:24:12 +08:00
Arda Güçlü
5e5f8b1dd2
move provideclusterinfo assignment into correct place
2023-11-28 08:54:54 +03: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
Alexey Fomenko
e38362501b
dynamic-resource-allocation Update API comments
2023-11-27 13:15:23 +02:00
Wojciech Tyczyński
3e1dbccf4d
Don't sort under lock
2023-11-23 18:13:43 +01:00
Stephen Kitt
969668b232
Use Go 1.21 Ordered and clear for sets
...
Go 1.21 provides its own type constraint permitting ordered types,
cmp.Ordered; use that instead of the private ordered constraint.
Go 1.21 introduces a clear function for maps, use that to clear sets.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2023-11-23 17:00:55 +01:00
Arda Güçlü
b088e65007
kubectl config set-credentials: Add InteractiveMode and ProvideClusterInfo flags
...
`set-credentials` command can also be used to config kubeconfig with credentials
exec plugins. However, there is no flag provided by this command to set
`InteractiveMode` and `ProvideClusterInfo` fields in credentials exec plugins.
Since `InteractiveMode` is required field, this makes the command's output
is incomplete and invalid. This PR introduces 2 new flags in set-credentials
command to let users can configure these 2 fields in credentials exec plugins,
especially the one `InteractiveMode` which is required.
2023-11-23 16:13:51 +03: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
andyzhangx
59c75b001a
cleanup: remove getStorageAccountName warning messages
2023-11-21 13:14:01 +00:00
Kevin Hannon
7ba546cfeb
drop alpha comment on ephemeral storage
2023-11-20 09:58:13 -05: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
Rewanth Tammana
1489a99206
Update mount_windows.go
2023-11-19 16:34:31 +04: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
Sascha Grunert
140abfc010
Remove leaky package and move PodInfraContainerName to staging
...
The variable can be reused in other projects like cadvisor or container
runtimes later on to identify the pod infra container. The `leaky`
package itself is actually not needed any more.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2023-11-16 14:34:22 +01:00
SataQiu
81d040d538
remove import hack about k8s.io/utils/clock/testing
2023-11-16 12:30:14 +08:00
Siyuan Zhang
12c9bfc21d
k8s.io/apiserver: refactor GenericAPIServer healthz code.
...
Signed-off-by: Siyuan Zhang <sizhang@google.com >
2023-11-15 12:43:16 -08:00
Jordan Liggitt
5164db066c
Drop testing dependency from shipped binaries
2023-11-15 15:05:18 -05: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
HirazawaUi
3fb16abfca
make the decode function respect the timeout context
2023-11-08 23:39:10 +08:00