Commit Graph

134908 Commits

Author SHA1 Message Date
yongruilin
9292f1e82b refactor(resourceclaim): generalize tweakDuplicateRequestName to tweakAddDeviceRequest 2025-10-13 22:37:11 +00:00
yongruilin
2260c9b983 test(validation): Add unit tests for DeviceAllocationResult.Config maxItems 2025-10-13 22:18:11 +00:00
yongruilin
b3eb152db4 feat(dra): Migrate DeviceAllocationResult.Config maxItems validation to declarative
This commit migrates the validation for the DeviceAllocationResult.Config field to declarative validation by adding the +k8s:maxItems=64 annotation.

The change is applied to the following API versions:
- resource/v1
- resource/v1beta1
- resource/v1beta2
2025-10-13 22:18:10 +00:00
yongruilin
8c7a338afe test(validation): Add tests for status.allocation.devices.results maxItems validation 2025-10-13 22:18:10 +00:00
yongruilin
a05fce7c22 feat(dra): Add maxItems tag on AllocationResult.Results
This commit migrates the validation for the AllocationResult.Results field to declarative validation by adding the +k8s:maxItems=32 tag.

This aligns with the existing AllocationResultsMaxSize constant and ensures consistency with similar fields like ReservedFor.

This change is applied to the following API versions:
- resource/v1
- resource/v1beta1
- resource/v1beta2
2025-10-13 22:18:10 +00:00
Aaron Prindle
f70142a6a9 feat(validation-gen): migrate ResourceClaimStatus.Allocation NoModify validation to declarative validation
Co-Authored-by: Yongrui Lin <yongrlin@outlook.com>
2025-10-13 22:18:10 +00:00
Aaron Prindle
331ea38769 feat: add +k8s:update tag and associated tests
This commit introduces the +k8s:update tag to define validation rules that apply only on resource updates. This enables declarative immutability checks (e.g., NoModify), moving validation logic into the API types.

As part of this change, the existing +k8s:immutable tag was also refined for more consistent er
reporting. Unit tests are included to verify the new functionality.
2025-10-13 22:15:15 +00:00
Kubernetes Prow Robot
6fd03094c7 Merge pull request #134554 from rzlink/reboot_test
e2e: skip the windows reboot node test case
2025-10-13 14:37:33 -07:00
Kubernetes Prow Robot
db63a581ca Merge pull request #134366 from tallclair/feature-gates-test
Set multiple feature gates simultaneously in test
2025-10-13 13:11:33 -07:00
Kubernetes Prow Robot
4da8d56d83 Merge pull request #134573 from BenTheElder/independent-go-version-bump
make .go-version independent of kube-cross
2025-10-13 12:03:33 -07:00
Benjamin Elder
86d0697319 remove blank line between comments and entry 2025-10-13 10:33:27 -07:00
Benjamin Elder
19311b932f reorder kube-cross to be under go version and dedupe it from the go version 2025-10-13 10:31:50 -07:00
Jordan Liggitt
39d37a1e92 Remove invalid SAN certificate construction 2025-10-13 10:27:22 -07:00
Benjamin Elder
ced2a40b9e kubeadm preflight checks: fix host URL construction 2025-10-13 10:27:22 -07:00
Tim Allclair
1c95008015 Log when automatically disabling dependent features 2025-10-13 10:01:28 -07:00
Benjamin Elder
e669ccda0f update build/README.md to reflect removal of rsync/data containers 2025-10-13 09:47:24 -07:00
Benjamin Elder
7d2309f059 cleanup unused rsync utilities 2025-10-13 09:47:24 -07:00
Benjamin Elder
faa62c8ce6 cleanup KUBE_RSYNC_CONTAINER*, KUBE_DATA_CONTAINER*, DOCKER_MOUNT_ARGS 2025-10-13 09:47:24 -07:00
Benjamin Elder
36526c3815 delete more now-unused shell functions 2025-10-13 09:47:24 -07:00
Benjamin Elder
5a05c062c3 delete now unused kube::build::copy_output and kube::build::build_image 2025-10-13 09:47:24 -07:00
Benjamin Elder
7ed65b466d remove defunct comments about updating copy_output 2025-10-13 09:47:24 -07:00
Benjamin Elder
dee429c165 remove unused scripts 2025-10-13 09:47:24 -07:00
Benjamin Elder
eaeed1a534 remove calls to kube::build::build_image and kube::build::copy_output 2025-10-13 09:47:24 -07:00
Benjamin Elder
581012fe06 build by running kube-cross directly
eliminate rsync dance, data container, and building a build image every time
2025-10-13 09:47:21 -07:00
Kubernetes Prow Robot
095b9d6045 Merge pull request #134433 from neolit123/1.35-show-wait-control-plane-errors-more-verbosely
kubeadm: print errors during control-plane-wait retries
2025-10-13 08:13:43 -07:00
Kubernetes Prow Robot
b6eb2dd747 Merge pull request #133993 from danwinship/endpoints-slices-e2e-split
clean up/reorganize endpoints conformance tests, split Endpoints/EndpointSlices
2025-10-13 08:13:36 -07:00
Kubernetes Prow Robot
260ea59ff5 Merge pull request #134293 from bart0sh/PR203-migrate-devicemanager-to-contextual-logging
Migrate device manager to contextual logging
2025-10-13 07:23:44 -07:00
Kubernetes Prow Robot
28c1a250f5 Merge pull request #133354 from srivastav-abhishek/fix-delay
Using processStart time to handle execution delays during stress tests
2025-10-13 07:23:36 -07:00
Kubernetes Prow Robot
851b50b519 Merge pull request #134567 from borg-land/fix-broken-gce-jobs
fix broken gce jobs
2025-10-13 05:24:57 -07:00
Lubomir I. Ivanov
52c734f1e6 kubeadm: print errors during control-plane-wait retries
While waiting for control plane components, the errors during
retries are not shown in higher klog verbosity. Show them
for level 5.
2025-10-13 14:14:37 +02:00
upodroid
0a05490e08 fix broken gce jobs 2025-10-13 12:49:46 +03:00
zhengkai
19a29de5ec style(kuberuntime-container): clean up redundant if branches 2025-10-13 15:27:23 +08:00
yongruilin
4d61ba787d test(validation): Add tests for status.ReservedFor maxItems validation 2025-10-13 06:58:47 +00:00
yongruilin
b0a511d309 feat(dra): Add maxItems tag on ReservedFor field
This commit migrates the validation for the ReservedFor field to declarative validation by adding the +k8s:maxItems=256 tag.

This change is applied to the following versions:
- resource/v1
- resource/v1beta1
- resource/v1beta2
2025-10-13 06:58:46 +00:00
Kubernetes Prow Robot
42ee6dafd5 Merge pull request #134553 from dims/extract-build-vars-into-separate-method
Extract build vars setup into reusable function
2025-10-12 20:04:54 -07:00
Dawei Wei
9ae5039b7f e2e: skip the reboot node test case 2025-10-12 16:37:20 -07:00
Davanum Srinivas
e8d512d822 extract build vars setup into reusable function
pulled out all the build variable setup stuff from verify_prereqs into its own function since we need those vars in other places too (like make-clean)
2025-10-12 14:22:40 -04:00
Kubernetes Prow Robot
9af290b282 Merge pull request #134546 from tengqm/apiselfsubjectreview-msg
Remove mentioning of the APISelfSubjectReview gate
2025-10-12 03:56:52 -07:00
Qiming Teng
6c9f2793ef Stop mentioning the removed gate CSIDriverRegistry 2025-10-12 16:52:03 +08:00
Qiming Teng
5362c2858d Remove mentioning of the APISelfSubjectReview gate 2025-10-12 16:32:05 +08:00
Lukasz Szaszkiewicz
3b93755c0c client-go/tools/cache/listwatch: intro ToListWatcherWithWatchListSemantics
returns a ListerWatcher that knows whether the provided client explicitly
does NOT support the WatchList semantics. This allows Reflectors
to adapt their behavior based on client capabilities.
2025-10-12 09:53:48 +02:00
Kubernetes Prow Robot
adce99702a Merge pull request #134461 from borg-land/kubeup-patches
improve kubeup env parameters
2025-10-11 09:26:52 -07:00
曾是然
83eebc2290 fix: Add CIDR filtering and overflow protection to IP allocator 2025-10-11 15:29:25 +00:00
Kubernetes Prow Robot
c8fb7c9174 Merge pull request #134524 from HirazawaUi/revert-134178
Revert "Merge pull request #134178 from HirazawaUi/remove-RootlessControlPlane“
2025-10-10 20:42:59 -07:00
carlory
dc686f240b Remove deprecated pod-infra-container-image flag 2025-10-11 10:49:53 +08:00
Kubernetes Prow Robot
27cfc5b4d5 Merge pull request #133778 from carlory/kubeadm-cleanup-pod-infra-container-image
Remove the --pod-infra-container-image flag from kubeadm and cluster/gce
2025-10-10 19:48:58 -07:00
pranshul gupta
3f8a5219e2 Enable validation-gen on rbac/v1,v1alpha1,v1beta1
This enables generation but doesn't activate the strategy calling of declarative
2025-10-11 07:25:55 +05:30
曾是然
20dafe678b test: Add failing tests for IP allocator CIDR filtering and overflow protection 2025-10-11 01:45:04 +00:00
Kubernetes Prow Robot
63389c2374 Merge pull request #134532 from BenTheElder/clean-no-tools
don't require build tools to clean
2025-10-10 15:53:00 -07:00
Benjamin Elder
d5ae324fb6 don't require build tools to clean
removing the output already only uses docker opportunistically cleanup after docker builds, the rest of cleanup should not require any of these

previously on a clean mac install you can install docker + `bash` and building like `make WHAT=cmd/kubectl` will work but `make clean` will fail due to lack of gnu-tar
2025-10-10 14:12:28 -07:00