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
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
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
5362c2858d
Remove mentioning of the APISelfSubjectReview gate
2025-10-12 16:32:05 +08: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
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
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
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
Kubernetes Prow Robot
b30d138603
Merge pull request #134465 from lalitc375/k8s-label-key
...
Add k8s-label-key format for toleration key
2025-10-10 13:57:00 -07:00
Kubernetes Prow Robot
1bafa63caf
Merge pull request #134526 from PersistentJZH/fix/fix-cron-parse-panic
...
fix panic in cron.ParseStandard
2025-10-10 12:23:00 -07:00
Lalit Chauhan
8b5cf608fd
Add k8s-label-key format for toleration key
2025-10-10 16:25:48 +00:00
Kubernetes Prow Robot
5b3bbd89e6
Merge pull request #134144 from swagatbora90/fix-kubeletnull-crash
...
change klog to log volume name instead of entire spec in GetDeviceMountPath
2025-10-10 09:21:00 -07:00
PersistentJZH
b738e8c3ca
fix panic in cron.ParseStandard
...
Signed-off-by: PersistentJZH <zhihao.kan17@gmail.com >
fix
optimize logic
fix unit test
2025-10-10 23:51:05 +08:00
HirazawaUi
7b4d4f72c9
fix lint error
2025-10-10 22:35:03 +08:00
HirazawaUi
d6dec0b345
Revert "Merge pull request #134178 from HirazawaUi/remove-RootlessControlPlane"
...
This reverts commit fce5a08b92 , reversing
changes made to d39b162163 .
2025-10-10 18:36:42 +08:00
carlory
400f8eccc5
Remove the --pod-infra-container-image flag from kubeadm
...
Signed-off-by: carlory <baofa.fan@daocloud.io >
2025-10-10 16:54:42 +08:00
Kubernetes Prow Robot
ee1ff4866e
Merge pull request #134479 from pohly/dra-device-taint-no-execute-toleration-fix
...
DRA device taints: fix toleration of NoExecute
2025-10-10 00:47:00 -07:00
Kubernetes Prow Robot
8e3d76317e
Merge pull request #134511 from BenTheElder/faster-clean
...
speed up make clean by narrowing recursive chmod
2025-10-09 17:45:00 -07:00
Benjamin Elder
efda517d93
speed up make clean by narrowing recursive chmod
2025-10-09 16:55:36 -07:00
Kubernetes Prow Robot
0a4651c991
Merge pull request #134495 from borg-land/cos-121-gpu
...
bump cos-gpu-installer to support cos 121
2025-10-09 13:47:00 -07:00
Kubernetes Prow Robot
628845b567
Merge pull request #134456 from gnufied/fix-e2e-modify-volume
...
With new changes we will also have a VolumeModifying condition
2025-10-09 11:31:02 -07:00
Kubernetes Prow Robot
b393d87d16
Merge pull request #134440 from pohly/e2e-volumebinding-watch-fix
...
integration test volume: fix restarting of watch
2025-10-09 03:05:09 -07:00
Kubernetes Prow Robot
b6d7517d2a
Merge pull request #134396 from p0lyn0mial/upstream-watchlist-unsupported-wl-semantics
...
client-go/util/watchlist/watch_list: intro DoesClientNotSupportWatchListSemantics
2025-10-09 03:05:01 -07:00
Kubernetes Prow Robot
6c258fa74b
Merge pull request #134376 from bertinatto/update-hostpathplugin-image-dra-manifest
...
Update hostpathplugin image version in DRA test driver manifest
2025-10-09 01:05:00 -07:00
upodroid
4f7e9ff1ef
bump cos-gpu-installer to support cos 121
2025-10-09 10:56:29 +03:00
Kubernetes Prow Robot
690e6a417a
Merge pull request #134488 from rkolchmeyer/pathfix
...
cluster/gce/gci: revert PATH change when using custom runc
2025-10-08 22:39:00 -07:00
Kubernetes Prow Robot
3791b0f7da
Merge pull request #134410 from SergeyKanzhelev/criapichangelog
...
Cri-api changelog
2025-10-08 21:09:00 -07:00
Kubernetes Prow Robot
28c655e79b
Merge pull request #134286 from aaron-prindle/dv-format-long-name-caseless-tag-migration
...
feat: migrate k8s:format=k8s-long-name-caseless validation on OpaqueDeviceConfiguration.Driver to declarative validation
2025-10-08 19:16:59 -07:00
Kubernetes Prow Robot
3e4b5e48f2
Merge pull request #134193 from hoskeri/fix-ipv6allocator
...
Fix IPv6 allocator for /64 CIDRs
2025-10-08 18:03:01 -07:00
Robert Kolchmeyer
3ec711f91e
cluster/gce/gci: revert PATH change when using custom runc
...
Commit 6031ff29c1
("make containerd download more robust") updated the containerd systemd
unit to use `Environment=PATH=/home/containerd/bin:$PATH`. However,
environment variables are not evaluated in systemd units in that way.
This resulted in containerd running with the literal value
`/home/containerd/bin:$PATH` for its PATH, breaking containerd (it could
not access the apparmor_parser program).
The old way passes the PATH that configure.sh runs with to containerd,
which is not optimal, but at least it doesn't break the tests. Let's
revert to the old way.
2025-10-08 16:19:01 -07:00
Kubernetes Prow Robot
6bc4914b84
Merge pull request #134256 from liggitt/protoc-gogo-poc
...
KEP-5589 - drop gogo runtime dependencies
2025-10-08 13:47:00 -07:00
Aaron Prindle
8e4cd1f3b6
address feedback
2025-10-08 20:45:07 +00:00
Aaron Prindle
d77cb206a0
feat: migrate k8s:format=k8s-long-name-caseless validation on OpaqueDeviceConfiguration.Driver to declarative validation
2025-10-08 20:45:01 +00:00
Kubernetes Prow Robot
96660d0441
Merge pull request #134367 from aaron-prindle/dv-resource-claim-spec-immutable
...
add +k8s:immutable tag to ResourceClaim.spec and associated tests
2025-10-08 12:57:08 -07:00
Kubernetes Prow Robot
51e35e61ce
Merge pull request #133870 from pohly/build-data-race-detection
...
build: also support KUBE_RACE for test binaries
2025-10-08 12:57:01 -07:00
Jordan Liggitt
7f58bb9abd
Regenerate vendor
2025-10-08 14:28:41 -04:00
Jordan Liggitt
2fe6220968
Regenerate protobuf
2025-10-08 14:28:40 -04:00
Jordan Liggitt
6d8adfe402
Isolate generated ProtoMessage() methods in build-tagged files
2025-10-08 14:28:40 -04:00
Jordan Liggitt
5fb0e16be6
Drop runtime use of gogo packages
2025-10-08 14:28:39 -04:00
Kubernetes Prow Robot
ddc2c5d192
Merge pull request #134481 from soltysh/chunk_size_drop_beta
...
Update --chunk-size flag, dropping the beta information
2025-10-08 10:22:59 -07:00
Maciej Szulik
cf099f4fc9
Update --chunk-size flag, dropping the beta information
...
The --chunk-size flag has been around since October 2017
(i4780ad0297 )
so it's about time we make it official.
Signed-off-by: Maciej Szulik <soltysh@gmail.com >
2025-10-08 18:15:36 +02:00
Kubernetes Prow Robot
10b97337f7
Merge pull request #131411 from ballista01/apiserver-requestheader-security-fix
...
Fix overlapping client CA and requestheader CA validation with proper certificate checking
2025-10-08 09:11:00 -07:00