Commit Graph

121356 Commits

Author SHA1 Message Date
Ben Luddy
10f7a166dd
Remove shared ref to underlying array of JSONFrameReader's Read arg.
When JSONFrameReader read a JSON object longer than the length of the destination slice, but not
larger than the capacity of the destination slice, it would retain a reference to a slice sharing
the same underlying array as the destination slice. If the underlying array is modified between
calls to Read, corrupt frame data could be returned.

This is also called out in the io.Reader contract: "Implementations must not retain p."
2024-05-09 09:33:12 -04:00
Kubernetes Prow Robot
055b51728c
Merge pull request #123554 from jsafrane/selinux-rwx-tests
Add tests for SELinuxMount feature
2024-03-01 06:43:17 -08:00
Jan Safranek
74417b517a Tag all feature gates required by a test
Use all necessary feature gates in SELinuxMount tests.
2024-03-01 14:38:24 +01:00
Kubernetes Prow Robot
d51e2da869
Merge pull request #123613 from aojea/revert_ccm
Revert "[cloud-provider] require providerID to initialize node"
2024-03-01 05:35:47 -08:00
Kubernetes Prow Robot
bed8fed49f
Merge pull request #123259 from Nordix/esotsal/local-up-cluster
Configure cpumanager policy options in local-up-cluster
2024-03-01 04:10:53 -08:00
Sotiris Salloumis
ce8bd8584e Configure cpumanager policy options in local-up-cluster
CPU Manager policy options cannot be configured with
KUBELET_FLAGS. They need to be included in kubelet
configuration instead.

This commit allows the configuration with the use
of three enviroment variables, following same approach
as done for enabling feature gates.
2024-03-01 11:38:02 +01:00
Kubernetes Prow Robot
ed1cc43cf7
Merge pull request #123399 from pohly/test-context-use-cancellation
test: use cancellation from ktesting
2024-03-01 01:03:23 -08:00
Craig Newton
20b28312ea
Add namespace to NotFound error for kubectl logs command (#120111)
Signed-off-by: Craig Newton <newtondev@gmail.com>
2024-02-29 23:57:23 -08:00
Antonio Ojea
6b08919473 Revert "[cloud-provider] require providerID to initialize node"
This reverts commit 03bd3e25b1.
2024-03-01 07:09:33 +00:00
Kubernetes Prow Robot
6cc77a577e
Merge pull request #123560 from ivelichkovich/master
kep-3716 GA, remove feature gate
2024-02-29 22:53:38 -08:00
Kubernetes Prow Robot
a6b806910a
Merge pull request #123534 from kannon92/fix-downward-api-comment
uid is also supported in field ref for downward api
2024-02-29 22:53:29 -08:00
Patrick Ohly
1d653e6185 test: use cancelation from ktesting
The return type of ktesting.NewTestContext is now a TContext. Code
which combined it WithCancel often didn't compile anymore (cannot overwrite
ktesting.TContext with context.Context). This is a good thing because all of
that code can be simplified to let ktesting handle the cancelation.
2024-03-01 07:51:22 +01:00
Kubernetes Prow Robot
3df07e446b
Merge pull request #123599 from bobbypage/bump-cadvisor-v0.49.0
Bump cAdvisor to v0.49.0
2024-02-29 21:51:47 -08:00
Kubernetes Prow Robot
6f42da171b
Merge pull request #123565 from ah8ad3/update-help-text-kubectl-create-token
Implement to accept zero as a default value for kubectl create token duration
2024-02-29 21:51:41 -08:00
Kubernetes Prow Robot
5fd3bc076b
Merge pull request #123603 from pacoxu/patch-11
fix UT failure TestPrintIPAddressList
2024-02-29 20:18:18 -08:00
Paco Xu
e9b30a0d29 fix UT failure TestPrintIPAddressList 2024-03-01 11:15:36 +08:00
Kubernetes Prow Robot
5cf4fbe524
Merge pull request #123458 from aramase/aramase/i/min_jwt_payload
add min valid jwt payload to API docs for structured authn config
2024-02-29 15:11:40 -08:00
Kubernetes Prow Robot
56a1b075cd
Merge pull request #122870 from wzshiming/kep-2681
Promote KEP-2681 to GA in 1.30
2024-02-29 15:11:33 -08:00
David Porter
c05e541793 Bump cAdvisor to v0.49.0
Signed-off-by: David Porter <david@porter.me>
2024-02-29 14:21:49 -08:00
Kubernetes Prow Robot
0d50a398df
Merge pull request #123598 from liggitt/remotecommand-cleanup
Remotecommand test flake cleanup
2024-02-29 13:40:48 -08:00
Jordan Liggitt
6c1a935da2
Keep streams from being set up after closeAllStreamReaders is called 2024-02-29 15:31:55 -05:00
Igor Velichkovich
a51a5b4622 kep-3716 GA, remove feature gate 2024-02-29 14:14:19 -06:00
Jordan Liggitt
26484df210
Make websocket heartbeat test timing less flaky 2024-02-29 15:10:28 -05:00
Jordan Liggitt
fc86811cbe
Avoid logging binary junk for frame write failure 2024-02-29 15:09:34 -05:00
Kubernetes Prow Robot
4c71261872
Merge pull request #123095 from reinka/test/eviction-manager-pid-pressure
add unit test for eviction manager pid pressure
2024-02-29 11:55:28 -08:00
Kubernetes Prow Robot
67a06c2056
Merge pull request #122293 from mengjiao-liu/controller-reconsider-log-verbosity
kube-controller-manager: readjust log verbosity
2024-02-29 11:55:21 -08:00
Anish Ramasekar
b57d7d6ad7
add min valid jwt payload to API docs for structured authn config
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2024-02-29 11:08:39 -08:00
Kubernetes Prow Robot
d8122df1b7
Merge pull request #123555 from neolit123/1.30-fix-apiserver-authz-arg-defaulting
kubeadm: fix a bug in defaulting apiserver "authorizaion-mode"
2024-02-29 09:49:08 -08:00
Kubernetes Prow Robot
3718932d9a
Merge pull request #123590 from aojea/revert-123310-update/dns/v1.23.0
Revert "Update kubedns and nodelocaldns to v1.23.0"
2024-02-29 07:48:36 -08:00
Antonio Ojea
8b035cd582
Revert "Update kubedns and nodelocaldns to v1.23.0" 2024-02-29 15:40:49 +01:00
Kubernetes Prow Robot
331ced5606
Merge pull request #123579 from pohly/scheduler-perf-create-strict-validation
scheduler_perf: fail when input YAML is invalid
2024-02-29 05:05:52 -08:00
Kubernetes Prow Robot
03f24068da
Merge pull request #123341 from neolit123/1.30-health-check-all-cp-components
kubeadm: introduce the WaitForAllControlPlaneComponents feature gate
2024-02-29 05:05:42 -08:00
Kubernetes Prow Robot
70383f3701
Merge pull request #119561 from payall4u/fix-kubelet-panic-when-allocate-device
Fix kubelet panic when allocate resource for pod.
2024-02-29 03:06:54 -08:00
Kubernetes Prow Robot
411c29c39f
Merge pull request #123331 from aojea/ccm_update
CCM wait for providerID to initialize the Node object
2024-02-29 01:50:02 -08:00
Kubernetes Prow Robot
234f0fcfc3
Merge pull request #122676 from p0lyn0mial/upstream-watch-cache-init-events-ordering
apiserver/storage: improve RunWatchSemanticInitialEventsExtended test
2024-02-29 01:49:48 -08:00
Patrick Ohly
d6851ec735 scheduler_perf: fail when input YAML is invalid
The YAML files get decoded into an unstructured object, without validation, and
then sent to the apiserver with a generic client. The default behavior is to
issue a warning to the client, which gets logged by client-go. What we want
instead is an error that causes the test to fail in a clean way right at the
beginning.
2024-02-29 09:53:16 +01:00
Kubernetes Prow Robot
210378e918
Merge pull request #123068 from calvin0327/upgrade-configuration
kubeadm: implementation of UpgradeConfiguration API types
2024-02-28 23:40:12 -08:00
calvin
466019b1b2 kubeadm: implementation of API types
Signed-off-by: calvin <wen.chen@daocloud.io>
Co-authored-by: Dave Chen <dave.chen@arm.com>
2024-02-29 13:14:21 +08:00
ah8ad3
3b5a79f647 cleanup: add zero as a value for token create duration and act as default, added test, updated the help text
change duration validator text message in create token

unit bug fixed
2024-02-29 08:28:05 +03:30
Kubernetes Prow Robot
a67973a45c
Merge pull request #122717 from jpbetz/crd-object-filters
KEP-4358: Custom Resource Field Selectors
2024-02-28 20:07:12 -08:00
Shiming Zhang
d303cec118 Update test 2024-02-29 11:48:18 +08:00
Shiming Zhang
55e9d509e6 Promote KEP-2681 to GA in 1.30 2024-02-29 11:48:06 +08:00
Kubernetes Prow Robot
ecd20dc39a
Merge pull request #122117 from ii/create-volume-attachment-lifecycle-test
Create e2e test for VolumeAttachment endpoints
2024-02-28 19:00:36 -08:00
Stephen Heywood
a3dfba8f50 Create e2e test for VolumeAttachment endpoints
e2e test validates the following 7 endpoints
- createStorageV1VolumeAttachment
- deleteStorageV1CollectionVolumeAttachment
- deleteStorageV1VolumeAttachment
- listStorageV1VolumeAttachment
- patchStorageV1VolumeAttachment
- readStorageV1VolumeAttachment
- replaceStorageV1VolumeAttachment
2024-02-29 13:38:48 +13:00
Kubernetes Prow Robot
7ec1e1a55e
Merge pull request #121606 from saschagrunert/user-namespaces-serial-test
KEP-127: Add UserNamespacesPodSecurityStandards e2e test
2024-02-28 13:54:25 -08:00
Joe Betz
a0dc949ce3 Improve error handling for json path results 2024-02-28 16:22:34 -05:00
Joe Betz
61d6026d23 Fix field paths 2024-02-28 15:49:44 -05:00
Kubernetes Prow Robot
fe8a12d264
Merge pull request #123562 from jpbetz/bump-cel-go-0_17_8
Bump cel-go to v0.17.8 to pick up CEL estimated cost fix
2024-02-28 12:45:41 -08:00
Joe Betz
45742d1d9a Add integration tests 2024-02-28 14:46:47 -05:00
Joe Betz
31f7efab20 Add cost stability tests for chained and nested CEL comprehensions 2024-02-28 14:20:16 -05:00