Commit Graph

123945 Commits

Author SHA1 Message Date
Filip Křepinský
68d34580e0 promote PDBUnhealthyPodEvictionPolicy to GA 2024-06-21 16:13:53 +02:00
Michal Wozniak
7b5d3f5bc1 Assert on all conditions in the Pod Failure policy tests 2024-06-21 15:42:14 +02:00
Ritwik Srinivas
b4ff40e362 github.com/moby/sys/mountinfo version update v0.6.2 -> v0.7.1 2024-06-21 08:54:47 -04:00
yintong.huang
2db1b321e0 drop deprecated PollWithContext and adopt PollUntilContextTimeout instead
Signed-off-by: yintong.huang <yintong.huang@daocloud.io>
2024-06-21 19:23:31 +08:00
Kubernetes Prow Robot
5ec31e84d6
Merge pull request #125585 from akhilerm/update-runc-1.1.13
update runc to 1.1.13
2024-06-20 19:32:21 -07:00
Kubernetes Prow Robot
95e16917f7
Merge pull request #125546 from dejanzele/feat/count-ready-pods-for-failed-jobs
Update the count of ready pods when deleting pods
2024-06-20 17:15:28 -07:00
Kensei Nakada
98a3182398 correct comment 2024-06-20 23:48:42 +00:00
Kensei Nakada
afed31193b update a test name and comment 2024-06-20 23:46:17 +00:00
Kensei Nakada
2304806cbe elaborate comment more 2024-06-20 23:43:41 +00:00
Kensei Nakada
fa8da84835 remove fixme comment 2024-06-20 23:36:25 +00:00
Kensei Nakada
2c4dc6b65b elaborate comments 2024-06-20 23:36:05 +00:00
Dejan Zele Pejchev
11b6e4c404
count ready pods when deleting active pods for failed jobs 2024-06-21 01:07:40 +02:00
Ben Luddy
61654e9f5d
Reject math/big.Int on encode and bignum tags on decode for CBOR.
Although CBOR can roundtrip arbitrary precision integers, they don't roundtrip properly through
Unstructured because Unstructured is limited to the dynamic numeric types int64 and float64. Rather
than serializing them (and potentially losing information), reject them explicitly with an error.
2024-06-20 17:46:40 -04:00
Kubernetes Prow Robot
fbaf9b0353
Merge pull request #125593 from ArkaSaha30/bump-etcd-3.5.14
Bump dependency: etcd to 3.5.14
2024-06-20 14:17:16 -07:00
Kubernetes Prow Robot
b95fce1732
Merge pull request #122994 from ardaguclu/wait-non-existed-resources
kubectl wait: Introduce --wait-for-creation flag
2024-06-20 14:17:07 -07:00
Kubernetes Prow Robot
cc2946e5d1
Merge pull request #125515 from mimowo/refactor-terminating-counter
Refactor tracking of terminating pods in Job controller
2024-06-20 13:01:41 -07:00
Kubernetes Prow Robot
4cd4e35061
Merge pull request #125423 from benluddy/cbor-nan-inf
KEP-4222: Reject NaN or infinite floating-point values in the CBOR serializer.
2024-06-20 13:01:31 -07:00
ArkaSaha30
c0da520e0b
Bump dependency: etcd to 3.5.14
This PR will bump the etcd vendored dependency from 3.5.13-> 3.5.14
https://github.com/etcd-io/etcd/releases/tag/v3.5.14

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-06-20 23:47:30 +05:30
Stephen Kitt
3f36c83c68
Switch to stretchr/testify / mockery for mocks
testify is used throughout the codebase; this switches mocks from
gomock to testify with the help of mockery for code generation.

Handlers and mocks in test/utils/oidc are moved to a new package:
mockery operates package by package, and requires packages to build
correctly; test/utils/oidc/testserver.go relies on the mocks and fails
to build when they are removed. Moving the interface and mocks to a
different package allows mockery to process that package without
having to build testserver.go.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-06-20 19:42:53 +02:00
Akhil Mohan
322ec75fd1
dependencies: update runc to v1.1.13
Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2024-06-20 23:11:19 +05:30
Ben Luddy
dda4b0d838
Copy input to UnmarshalJSON on the apiextensions JSON types.
According to the contract of json.Unmarshaler: "UnmarshalJSON must copy the JSON data if it wishes
to retain the data after returning." If the input is not copied, the underlying array of Raw could
be reused by the caller of UnmarshalJSON, and any modifications would be visible in Raw (and vice
versa).
2024-06-20 13:35:47 -04:00
Kubernetes Prow Robot
3ee4d98364
Merge pull request #125576 from alvaroaleman/fix
Corev1.Node: Link to node doc and not PV doc in status.capacity
2024-06-20 10:19:49 -07:00
Kubernetes Prow Robot
a4b8edd0f7
Merge pull request #125104 from enj/enj/i/sa_generics
serviceaccount: use generics to remove runtime type checks during validation
2024-06-20 09:16:49 -07:00
Ben Luddy
7baa866cf2
Add interesting inputs to CBOR decode seed corpus. 2024-06-20 12:15:56 -04:00
Ben Luddy
a68f9712f7
Add CBOR fuzz test for unreasonable allocations during decode. 2024-06-20 12:10:33 -04:00
Monis Khan
3da48466d6
serviceaccount: use generics to remove runtime type checks during validation
Signed-off-by: Monis Khan <mok@microsoft.com>
2024-06-20 11:16:15 -04:00
Kubernetes Prow Robot
44446e1c9c
Merge pull request #125531 from pohly/klog-update
dependencies: klog v2.130.1
2024-06-20 07:13:40 -07:00
Kubernetes Prow Robot
bb95d084a2
Merge pull request #125603 from mimowo/refactor-enact-finished-job
Refactor enactJobFinished util function for Job controller
2024-06-20 05:04:17 -07:00
Patrick Ohly
f98e5d1dfc dependencies: klog v2.130.1 2024-06-20 13:34:11 +02:00
Michal Wozniak
c12bcf4e94 Refactor enactJobFinished util function for Job controller 2024-06-20 13:02:54 +02:00
Kubernetes Prow Robot
bc3b8f6c6b
Merge pull request #123513 from serathius/default
Move ConsistentListFromCache to Beta default
2024-06-20 03:04:16 -07:00
Marek Siarkowicz
038bbacb41 Fix tracing test for list nodes 2024-06-20 10:56:51 +02:00
Marek Siarkowicz
0c0e19b343 Move ConsistentListFromCache to Beta default 2024-06-20 10:56:51 +02:00
Marek Siarkowicz
4e51e9cff8 Explicitly disable ConsistentListFromCache in TestGetListNonRecursiveCacheBypass 2024-06-20 10:56:51 +02:00
Kubernetes Prow Robot
1519f80281
Merge pull request #125514 from DrAuYueng/remove-redundant-nil-check
Remove redundant nil check
2024-06-20 01:22:18 -07:00
Michal Wozniak
8cec2c7470 Refactor tracking of terminating pods in Job controller 2024-06-20 09:35:56 +02:00
Kubernetes Prow Robot
78377c4d10
Merge pull request #125413 from torredil/update-kubelet-config
Conditionally add the graceful shutdown Kubelet parameters
2024-06-19 21:18:15 -07:00
Kubernetes Prow Robot
1544c104b7
Merge pull request #124752 from ArkaSaha30/bump-govulncheck-1.1.0
Bump govulncheck version to 1.1.0
2024-06-19 20:00:16 -07:00
Kubernetes Prow Robot
52e4fbdd85
Merge pull request #125574 from jpmcb/cobra-1.8.1
Upgrade spf13/cobra v1.8.1
2024-06-19 19:00:22 -07:00
Kubernetes Prow Robot
fc786fc6e8
Merge pull request #125552 from liggitt/fix-timeout-wiring
KEP-3221: Fix structured authorization webhook timeout wiring and detection
2024-06-19 19:00:16 -07:00
Kubernetes Prow Robot
b3db54ea72
Merge pull request #125016 from carlory/promote-portworx-csi-migration-default-on
Enables the Portworx in-tree driver to Portworx migration feature by default
2024-06-19 13:26:48 -07:00
Kubernetes Prow Robot
aeed1d0e1a
Merge pull request #124842 from carlory/honor-pv-reclaim-policy-e2e
Promote HonorPVReclaimPolicy to beta and enable it by default
2024-06-19 13:26:41 -07:00
Jordan Liggitt
c50f68d6ee
Fix structured authorization webhook timeout wiring 2024-06-19 15:36:36 -04:00
Kubernetes Prow Robot
a008776ec9
Merge pull request #125279 from HirazawaUi/add-poddeleted-queueinghintfn
Add QueueingHintFn for pod events in VolumeRestriction plugin
2024-06-19 12:22:41 -07:00
Tim Hockin
a074dd6f2e
Use +default for now deprecated ScaleIO volume 2024-06-19 12:18:33 -07:00
Tim Hockin
0f5ab4beec
Use +default for now deprecated AzureDisk volume 2024-06-19 11:59:52 -07:00
Tim Hockin
333c02cf28
Use +default for now deprecated ISCSI volume 2024-06-19 11:59:20 -07:00
Tim Hockin
03f0110b95
Use +default for now deprecated RBD volume
THis leaves us less hand-written code and a better schema.
2024-06-19 11:58:26 -07:00
John McBride
5aaff7d060
feat: Upgrade to cobra v1.8.1
Signed-off-by: John McBride <jpmmcbride@gmail.com>
2024-06-19 12:14:50 -06:00
Kubernetes Prow Robot
33829b68b5
Merge pull request #121439 from skitt/generic-client-go
Use generics to share code in client-go implementations
2024-06-19 11:08:42 -07:00