Kubernetes Prow Robot
1890157a6c
Merge pull request #128490 from dims/remove-incorrect-usage-of-golang.org/x/net/context
...
Remove incorrect usage of golang.org/x/net/context
2024-11-01 21:09:26 +00:00
Kubernetes Prow Robot
3f5d0ee2cf
Merge pull request #128497 from benluddy/cbor-request-contenttype-circuit-breaker
...
KEP-4222: Fall back to JSON request encoding after CBOR 415.
2024-11-01 20:05:34 +00:00
Kubernetes Prow Robot
b845968421
Merge pull request #128344 from kannon92/revert-128333-eviction-manager
...
Allow for container fs and image fs to be on the same drive but in a different partition
2024-11-01 20:05:27 +00:00
Kubernetes Prow Robot
f8e64e1d6e
Merge pull request #128219 from carlory/fix-127520-128126
...
kubelet: Fix the volume manager didn't check the device mount state in the actual state of the world before marking the volume as detached
2024-11-01 18:55:34 +00:00
Kubernetes Prow Robot
1a7326902f
Merge pull request #127743 from googs1025/cleanup/leaderelection
...
chore(leader-election): modify leader-election comment to OnStoppedLeading callback is always called when the LeaderElector exits, even if it did not start leading.
2024-11-01 18:55:27 +00:00
Kubernetes Prow Robot
ca797af2af
Merge pull request #128491 from benluddy/cbor-dynamic-watch
...
KEP-4222: Add integration test for CBOR-enabled dynamic client watches.
2024-11-01 17:05:26 +00:00
Ben Luddy
1745dfdd15
Fall back to JSON request encoding after CBOR 415.
...
If a client is configured to encode request bodies to CBOR, but the server does not support CBOR,
the server will respond with HTTP 415 (Unsupported Media Type). By feeding this response back to the
RESTClient, subsequent requests can fall back to JSON, which is assumed to be acceptable.
2024-11-01 12:54:04 -04:00
Ben Luddy
faf07915e1
Add integration test for CBOR-enabled dynamic client watches.
2024-11-01 12:03:30 -04:00
Davanum Srinivas
d450b6e653
Drop go-colortext and its usage
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-11-01 11:55:53 -04:00
Kubernetes Prow Robot
88a997ac01
Merge pull request #128481 from carlory/dependencies-ginkgo-gomega
...
dependencies: ginkgo v2.21.0, gomega v1.35.1
2024-11-01 15:53:26 +00:00
Davanum Srinivas
f74d6bc86b
Remove incorrect usage of golang.org/x/net/context
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-11-01 09:32:39 -04:00
Kubernetes Prow Robot
1a16c2d578
Merge pull request #128487 from neolit123/1.32-fix-get-node-from-ssr-bug
...
kubeadm: ensure proper parsing of SSR username
2024-11-01 12:47:25 +00:00
Kevin Hannon
48dc7d3267
add TODO for image fs
2024-11-01 08:46:55 -04:00
Jan Safranek
09afd667d7
Remove useless comment
...
seLinuxOptions are copied few lines below during `append()`
2024-11-01 12:46:39 +01:00
Jan Safranek
d7daa688c9
Collect SELinux options only when needed
...
Remove feature gate check from GetPodVolumeNames and collect SELinux
options only when it's really needed.
2024-11-01 12:46:39 +01:00
Jan Safranek
6e4504685f
Fix access mode evaluation
...
Now that SELinuxMount can support volumes with any access modes, length of
the access modes does not need to be 1. That was requirement for RWOP
volumes only.
2024-11-01 12:46:39 +01:00
Jan Safranek
97b03e29b9
Document getSELinuxLabel function
2024-11-01 12:46:39 +01:00
Jan Safranek
53e5335d3c
Add SELinuxMount tests
2024-11-01 12:46:39 +01:00
Jan Safranek
89da53cdeb
Add SELinuxChangePolicy tests
2024-11-01 12:46:38 +01:00
Jan Safranek
db353e0485
Refactor AddPodToVolume unit tests with multiple pods
...
Refactor existing tests that run AddPodToVolume with multiple pods
to a table.
2024-11-01 12:46:38 +01:00
Jan Safranek
db3d995c2a
Refactor AddPodToVolume unit tests with a single pod
...
Refactor existing tests that run AddPodToVolume with a single pod / volume
to a table. And add few extra tests, covering existing ReadWriteOncePod
functionality.
2024-11-01 12:46:38 +01:00
Jan Safranek
e4eedfe105
Refactor getSELinuxLabel
...
Return early and reduce indentation
2024-11-01 12:46:38 +01:00
Jan Safranek
8a400124f9
Use SELinuxChangePolicy
2024-11-01 12:46:38 +01:00
Jan Safranek
6ca7b959e4
Add SELinuxChangePolicy validation
2024-11-01 12:46:34 +01:00
Jan Safranek
3867cb40ad
Regenerated API
2024-11-01 12:45:56 +01:00
Jan Safranek
c73308e90a
Introduce SELinuxChangePolicy
...
Feature gate + the API
2024-11-01 12:45:56 +01:00
Kubernetes Prow Robot
d87bf75c29
Merge pull request #128439 from oxxenix/migrate-security-components-to-contextual-logging
...
clustertrustbundle, token_manager: migrate to contextual logging
2024-11-01 11:17:25 +00:00
carlory
1335f203fe
kubelet: Fix the volume manager did't check the device mount state in the actual state of the world before marking the volume as detached. It may cause a pod to be stuck in the Terminating state due to the above issue when it was deleted.
2024-11-01 18:51:33 +08:00
Lubomir I. Ivanov
fceb39ecd2
kubeadm: ensure proper parsing of SSR username
...
- Split the code that tries to get node name from SSR into
a new function getNodeNameFromSSR(). Unit test the function.
- Fix error that the "system:nodes:" prefix was not trimmed.
- Fix mislearding errors around FetchInitConfigurationFromCluster.
This function performs multiple actions, and the "get node"
action can also be of type apierrors.NotFound(). This creates
confusion in the returned error in enforceRequirement during
upgrade. Fix this problem.
2024-11-01 11:42:58 +02:00
Kubernetes Prow Robot
c4eea34dcf
Merge pull request #128293 from sebastiaanspeck/fix/kubeamd-typo
...
Fix typo for `kubeadm`
2024-11-01 09:15:26 +00:00
carlory
529ad9029d
improve error message format for WaitForPodSuccessInNamespaceTimeout
2024-11-01 14:33:07 +08:00
carlory
f36042dc5c
gomega forces Eventually
to apply a default timeout even when a context is provided.
2024-11-01 11:37:04 +08:00
carlory
80b1a29786
dependencies: ginkgo v2.21.0, gomega v1.35.1
2024-11-01 11:35:24 +08:00
carlory
9cb7d58b3c
Tighten validation on the qosClass field of pod status
2024-11-01 10:36:03 +08:00
Kubernetes Prow Robot
b831df733e
Merge pull request #128416 from jpbetz/reset-filter
...
Add optional ResetFieldsFilterStrategy interface for storage
2024-11-01 02:23:26 +00:00
Joe Betz
2bc17d1cf0
Add ResetFieldsFilterStrategy
2024-10-31 21:19:27 -04:00
Joe Betz
6fe5140366
hack/pin-dependency.sh sigs.k8s.io/structured-merge-diff/v4 v4.4.2
2024-10-31 21:19:27 -04:00
Kubernetes Prow Robot
223ac36b50
Merge pull request #128399 from JesseStutler/dra
...
Refactor the dynamicResources struct to DynamicResources
2024-11-01 00:33:27 +00:00
Kubernetes Prow Robot
74b9204b6a
Merge pull request #128473 from dims/copy-ParseCgroupFileUnified-and-drop-rest-of-containerd-cgroups
...
Copy ParseCgroupFileUnified and Drop rest of containerd/cgroups
2024-10-31 21:57:33 +00:00
Kubernetes Prow Robot
34ce75749e
Merge pull request #128463 from knrc/fix_vap_elapsed_time_tracking
...
Fix elapsed time tracking for validating admission policies
2024-10-31 21:57:27 +00:00
Kubernetes Prow Robot
d76a8fae67
Merge pull request #128468 from wojtek-t/fix_miss_events_tests
...
Fix TestCacherDontMissEventsOnReinitialization test
2024-10-31 20:25:40 +00:00
Kubernetes Prow Robot
f68a0371f1
Merge pull request #128433 from pohly/dra-admin-access-in-status
...
DRA API: check "AdminAccess in use" only once
2024-10-31 20:25:33 +00:00
Kubernetes Prow Robot
b337f048db
Merge pull request #127094 from sreeram-venkitesh/4818-allow-zero-for-prestop-hook
...
KEP-4818: Relaxed validation for allowing zero in PreStop hook sleep action
2024-10-31 20:25:26 +00:00
Kubernetes Prow Robot
d34c181465
Merge pull request #128444 from tosi3k/ds-syncs
...
Add --concurrent-daemonset-syncs argument to kube-controller-manager
2024-10-31 19:21:34 +00:00
Kubernetes Prow Robot
151ca569f9
Merge pull request #128426 from yongruilin/reset-label-allow-list
...
feat(metrics): Add util func to reset label allow lists
2024-10-31 19:21:27 +00:00
Davanum Srinivas
e86d02b60c
Copy ParseCgroupFileUnified and Drop rest of containerd/cgroups
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-10-31 13:42:39 -04:00
Kubernetes Prow Robot
365b457e3e
Merge pull request #128455 from jsafrane/refactor-kcm-plugins
...
Refactor KCM volume plugin probe
2024-10-31 17:17:34 +00:00
Kubernetes Prow Robot
7a43edefa1
Merge pull request #128454 from jpbetz/fix-emulated-storage-version-encoding-config
...
Don't select versions that have a replacement as storage version for APIs
2024-10-31 17:17:26 +00:00
Wojciech Tyczyński
d35ea217fa
Fix TestCacherDontMissEventsOnReinitialization test
2024-10-31 17:08:42 +01:00
yongruilin
d2ef8a1808
feat(metrics): Add util func to reset label allow lists
...
Adds a utility function `ResetLabelValueAllowLists` to reset the allow lists for label values. This facilitates testing by allowing tests to clear the global state between runs and avoid unintended side effects.
2024-10-31 09:08:00 -07:00