Commit Graph

129165 Commits

Author SHA1 Message Date
yongruilin
5d0caaa1a6 feat: Add alpha feature verification to feature gates
Implement a new function, verifyAlphaFeatures, to ensure that alpha features cannot be enabled by default. Update the verifyOrUpdateFeatureList function to call this new verification. Add corresponding unit tests to validate the behavior of alpha feature handling.
2025-03-18 00:04:16 +00:00
Anish Ramasekar
916c7867f7
fix godoc for email_verified requirement when username contains claims.email
Using 'claims.?email_verified.orValue(true) == true' in the example
validation rule. By explicitly comparing the value to true, we let type-checking see the result
will be a boolean, and to make sure a non-boolean email_verified claim will be caught at runtime.

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-03-17 17:01:47 -07:00
Kubernetes Prow Robot
473ec01548
Merge pull request #130733 from natasha41575/pod-resize-conditions
[FG:InPlacePodVerticalScaling] Move pod resize status to pod conditions
2025-03-17 16:09:50 -07:00
Natasha Sarkar
a15520fbea Move pod resize status to pod conditions 2025-03-17 22:01:05 +00:00
Dawei Wei
6186303580 Adding Unit tests for windows-dsr and overlay support 2025-03-17 14:36:39 -07:00
Kubernetes Prow Robot
e950e517ed
Merge pull request #130862 from icylord/kubectl
kubectl: Remove duplicate selector calculation logic and add missing test cases for the 'describe DaemonSet'
2025-03-17 13:35:49 -07:00
Marek Siarkowicz
984b475e74 Extract delegator.Helper interface to allow making delegate decision based on cache state 2025-03-17 20:57:19 +01:00
Marek Siarkowicz
4f1912abf2 Fix missing recursive in consistency check, enable panic on failed check and fix typo in logs 2025-03-17 20:53:57 +01:00
Kubernetes Prow Robot
917a556981
Merge pull request #130250 from marosset/withdraw-windows-hostnetwork
Withdraw alpha support for HostNetwork containers on Windows
2025-03-17 11:59:48 -07:00
Rajalakshmi-Girish
5402baf4a2 Fix KUBE_BUILD_IMAGE_CROSS_TAG mismatch when KUBE_CROSS_VERSION is passed 2025-03-17 11:20:07 -07:00
Kubernetes Prow Robot
f8cc9c92d6
Merge pull request #130858 from dims/trying-to-fix-provider-kubelet_config_dir_test
Fix kubelet_config_dir_test after KubeletServiceAccountTokenForCredentialProviders was added
2025-03-17 10:43:49 -07:00
Mark Rossett
9837a61528
update cri-api comments for Windows HostProcess withdrawal 2025-03-17 09:40:13 -07:00
Mark Rossett
a666451e8a
withdraw Windows HostNetwork support 2025-03-17 09:40:12 -07:00
Kubernetes Prow Robot
2cb9e77fde
Merge pull request #130658 from tenzen-y/promote-successpolicy-e2e-to-conformance
KEP-3998: Promote JobSuccessPolicy E2E to Conformance
2025-03-17 09:35:56 -07:00
Kubernetes Prow Robot
61529d54f2
Merge pull request #130595 from tkashem/omit-admission
KEP-3926: skip admission validation for unsafe delete
2025-03-17 09:35:49 -07:00
Vinayak Goyal
2b504a7089 Fix failing git_repo e2e release informing tests. 2025-03-17 16:07:50 +00:00
Kevin Hannon
aa187d2d5a add separate container runtime filesystem tests 2025-03-17 12:07:10 -04:00
Kubernetes Prow Robot
d367e0b326
Merge pull request #130865 from serathius/integration-refactor
Split subfunction to allow adding more subtests
2025-03-17 08:18:27 -07:00
Kubernetes Prow Robot
eec06b4169
Merge pull request #130864 from xigang/factor-out-index-helper
controller: factor out pod node name indexer helper function
2025-03-17 08:18:18 -07:00
Kubernetes Prow Robot
859eb4cd78
Merge pull request #130721 from yanhuan0802/fix-informer-typo
fix: shared informer typos
2025-03-17 08:18:09 -07:00
Kubernetes Prow Robot
abaa73bb76
Merge pull request #130688 from serathius/watchcache-validate
Use ValidateListOptions in watch cache
2025-03-17 08:18:00 -07:00
Kubernetes Prow Robot
8906223b00
Merge pull request #130347 from Jefftree/remove-v2beta1-agg-discovery
Add a deprecated feature gate to stop serving apidiscovery.k8s.io/v2beta1
2025-03-17 08:17:52 -07:00
Kensei Nakada
c30eb9d9e5 feat: graduate the async preemption feature to beta 2025-03-17 23:43:39 +09:00
Yuki Iwai
e394d430c4 Promote E2E to conformance tests for JobSuccessPolicy
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2025-03-17 23:22:13 +09:00
Kubernetes Prow Robot
fd0a348417
Merge pull request #130741 from googs1025/fix/data_race
flake: fix data race for TestApfWatchHandlePanic unit test
2025-03-17 07:10:02 -07:00
Kubernetes Prow Robot
fcb2418f7b
Merge pull request #128152 from stlaz/ensure-secret-images
Multi-tenancy in accessing node images via Pod API
2025-03-17 07:09:49 -07:00
Patrick Ohly
0490b9f0b7 kubelet: document seamless upgrade support and guidance
This tries to capture the current state of affairs and a potential plan for
supporting seamless upgrades better.
2025-03-17 14:43:08 +01:00
Kubernetes Prow Robot
5a6ace2aa0
Merge pull request #130811 from serathius/watchcache-test-negative-rv
Add test cases for negative resource version in TestList
2025-03-17 05:37:48 -07:00
Swati Sehgal
f1031be019 node: cpumgr: metrics: add metrics for allocation per NUMA
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2025-03-17 12:29:44 +00:00
xigang
5c4948ff31 controller: factor out pod node name indexer helper function
Signed-off-by: xigang <wangxigang2014@gmail.com>
2025-03-17 20:21:30 +08:00
Marek Siarkowicz
9e7c080b86 Use ValidateListOptions in watch cache 2025-03-17 13:07:51 +01:00
Marek Siarkowicz
414bfc707f Split subfunction to allow adding more subtests 2025-03-17 12:43:17 +01:00
Marek Siarkowicz
6d21d8f237 Test continue with negative RV for reading consistent RV 2025-03-17 12:34:10 +01:00
Kubernetes Prow Robot
e2a77c2a05
Merge pull request #130815 from serathius/watchcache-simplify-bypass-test
Simplify bypass test by just testing shouldDelegateList function
2025-03-17 04:30:00 -07:00
Kubernetes Prow Robot
d2ef120924
Merge pull request #130813 from serathius/watchcache-consistent-list-flake
Fix flaky RunTestConsistentList
2025-03-17 04:29:49 -07:00
carlory
8c9452f4ca e2e tests: remove unneeded storage feature label 2025-03-17 11:57:18 +08:00
Yuma Ogami
d66330609c Remove the not-even alpha feature setting
Remove the setting for the feature gate that are not even alpha
because Compatibility Versions (KEP-4330) don't allow it.
2025-03-17 00:49:58 +00:00
Yuma Ogami
bc74476bdb Remove VolumeCapacityPriority feature gate 2025-03-17 00:49:58 +00:00
Yuma Ogami
43382b1b39 Switch control from VolumeCapacityPriority to StorageCapacityScoring
The tests and comments have also been updated because while
VolumeCapacityPriority preferred a node with the least allocatable,
StorageCapacityScoring preferred a node with the maximum allocatable.
2025-03-17 00:49:58 +00:00
bells17
f6ddee95f9 Add storage capacity scoring to VolumeBinding plugin 2025-03-17 00:49:58 +00:00
Kubernetes Prow Robot
abad982cf8
Merge pull request #130857 from thockin/kk_small_vg_diffs
Port small deltas from validation-gen dev branch to master
2025-03-16 15:49:47 -07:00
Davanum Srinivas
410dc1d654
Trying to fix kubelet_config_dir_test
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-03-16 18:38:23 -04:00
Tim Hockin
8f69d596e8
Fix pkg names != dir in tests 2025-03-16 14:41:18 -07:00
Tim Hockin
b47e839e4e
Comment on origin and JSON schema 2025-03-16 14:32:49 -07:00
Tim Hockin
46d5438c14
Fix import groupings 2025-03-16 14:29:52 -07:00
Tim Hockin
1ff4433c87
Fix whitespace in validateFalse test fixture
This diff should be entirely whitespace.
2025-03-16 14:29:19 -07:00
Tim Hockin
4c0c2d21ea
Use origin in validateFalse's own test 2025-03-16 14:27:31 -07:00
Tim Hockin
d1d77cd553
Use test.Helper in helper funcs 2025-03-16 14:26:41 -07:00
Itamar Holder
1ae091e718 Add validation for the NodeSwapStatus field
Signed-off-by: Itamar Holder <iholder@redhat.com>
2025-03-16 11:59:29 +02:00
Itamar Holder
9d38a85c70 Ensure unit tests are guarded by a feature gate
Signed-off-by: Itamar Holder <iholder@redhat.com>
2025-03-16 11:59:29 +02:00