Commit Graph

133015 Commits

Author SHA1 Message Date
yongruilin
514b93d7e1 test: add validation test for duplicate DeviceClaimConfiguration requests 2025-10-09 07:52:38 +00:00
yongruilin
ed932547cf feat: migrate DeviceClaimConfiguration.Requests to declarative validation 2025-10-09 07:52:36 +00:00
yongruilin
c81fc12900 test: add validation test for duplicate DeviceConstraint.Requests 2025-10-09 07:12:15 +00:00
yongruilin
63f8c0a4fe feat: migrate DeviceConstraint.Requests uniqueness to declarative validation 2025-10-09 07:11:27 +00:00
yongruilin
2341b3bcc8 test: add validation test for duplicate FirstAvailable names 2025-10-09 05:58:22 +00:00
yongruilin
3ad7b189b7 feat: migrate DeviceRequest.FirstAvailable uniqueness to declarative validation 2025-10-09 05:58:21 +00:00
yongruilin
d045a9dd3c test: add validation test for duplicate device request names 2025-10-09 05:55:50 +00:00
yongruilin
ca9e09b7d3 feat: migrate DeviceClaim.Requests uniqueness to declarative validation
This change migrates the validation for unique device request names
for the DeviceClaim.Requests field to a declarative format.

The `+k8s:unique=map` and `+k8s:listMapKey=name` tags have been added
to the `Requests` field within the `DeviceClaim` API type. This ensures
the generated validation code enforces that all entries in the `requests`
slice have a unique `name`.
2025-10-09 05:55:49 +00: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
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
Kubernetes Release Robot
67c29eaafc CHANGELOG: Update directory for v1.35.0-alpha.1 release 2025-10-08 14:22:30 +00:00
Kubernetes Prow Robot
acaa1e362d Merge pull request #133410 from richabanker/delete-label-values
Wrapper for prom client's DeleteLabelValues()
2025-10-08 07:01:02 -07:00
Kubernetes Prow Robot
a20a9a4113 Merge pull request #133599 from eltrufas/block-transient
Mark API server errors as transient in csi raw block driver
2025-10-08 05:29:02 -07:00
Kubernetes Prow Robot
2e2c63ef73 Merge pull request #134449 from aditigupta96/contextual-api-approval-controller
refactor(apiextensions-apiserver): Make APIApproval controller context-aware
v1.35.0-alpha.1
2025-10-08 01:43:01 -07:00
Patrick Ohly
9702a2dca2 E2E framework: enable data race detection only if needed
When building the test binary without race detection, we don't
need the post-processing of the JUnit file because it cannot
contain data race reports. This can be done via build tags.
2025-10-08 08:45:21 +02:00
Aditi Gupta
7eb7894dad refactor(apiextensions-apiserver): Make APIApproval controller context-aware 2025-10-07 21:30:26 -07:00
Rafael Castillo
f99d0e9759 Mark API server errors as transient in csi raw block driver
Certain failures during SetupDevice and MapPodDevice are not treated as
transient in the csi raw block plugin implementation, while they are in
the file mode plugin. This can lead to certain failures causing volumes
to be marked as unmounted incorrectly.

This patch brings the block plugin up to parity with the fs one by
marking the equivalent calls as transient. This mostly covers API server
and some csi driver calls.
2025-10-08 02:39:01 +00:00
Kubernetes Prow Robot
2cdcccbc99 Merge pull request #134403 from macsko/add-sig-scheduling-leads-to-feature-approvers
Update SIG Scheduling leads in feature-approvers
2025-10-07 19:17:06 -07:00
Kubernetes Prow Robot
7dcc66e8b6 Merge pull request #133922 from lmktfy/20250907_docs_owners_aliases
Fix OWNERS_ALIASES entry for SIG Docs
2025-10-07 19:17:00 -07:00
Aaron Prindle
2fa703bfb6 address feedback 2025-10-07 22:49:14 +00:00
Aaron Prindle
b4fa5794ef generate 2025-10-07 22:49:14 +00:00
Aaron Prindle
1c0f0add8a feat: add +k8s:immutable tag to ResourceClaim.spec and associated tests 2025-10-07 22:49:11 +00:00
Aaron Prindle
dfd7b230b4 feat: make it so that all ShortCircuit validators are run for short circuiting check 2025-10-07 22:47:42 +00:00
Aaron Prindle
10473da4f7 chore: add +k8s:immutable tag implementation and test 2025-10-07 22:47:42 +00:00
Kubernetes Prow Robot
73bcd2b0e4 Merge pull request #134333 from lalitc375/reserved-for
Add listType=map and listMapekey=uid for ResourceClaimStatus.ReservedFor
2025-10-07 15:44:59 -07:00
Kubernetes Prow Robot
62e9524c85 Merge pull request #134412 from aaron-prindle/resourceclaim-strategy-cleanup
fix: remove unnecessary ValidateResourceClaim call from resourclaim ValidateUpdate
2025-10-07 14:24:59 -07:00
Kubernetes Prow Robot
7891d35ccf Merge pull request #134399 from aojea/slice_headless
add integration test for endpoint and endpointslice controller labels propagation and headless services
2025-10-07 13:35:09 -07:00
Kubernetes Prow Robot
251b3ad820 Merge pull request #134284 from aaron-prindle/fix-resourceclaim-oneof-logic
fix: update pkg/apis/resource validateDeviceRequest to short-circuit on the oneOf check
2025-10-07 13:35:01 -07:00
Lalit Chauhan
1fb8674387 Add listType=map and listMapekey=uid for ResourceClaimStatus.ReservedFor 2025-10-07 20:07:48 +00:00
Kubernetes Prow Robot
3a53784ecb Merge pull request #133876 from kei01234kei/make_v1_version_fist_priotiry_inresource
make v1 resource version first priority in resource
2025-10-07 08:55:02 -07:00
Kubernetes Prow Robot
ad82c3d39f Merge pull request #134391 from lalitc375/k8s-uuid
Add DV for uids in resourceClaim Status
2025-10-06 15:42:59 -07:00
Aaron Prindle
111fc04e1d fix: update pkg/apis/resource validateDeviceRequest to short-circuit on the oneOf check 2025-10-06 22:15:53 +00:00
Aaron Prindle
e62523e1f5 address feedback 2025-10-06 22:10:33 +00:00
Aaron Prindle
fd12fc00c9 fix: remove unnecessary ValidateResourceClaim call from resourclaim ValidateUpdate 2025-10-06 22:10:30 +00:00
Kubernetes Prow Robot
9343d04120 Merge pull request #134408 from yongruilin/vg_resourceclaim
feat(validation-gen): add path normalization options & migration k8s:maxItem on ResourceClaimSpec fields
2025-10-06 14:53:06 -07:00
Kubernetes Prow Robot
fd1ea25e9a Merge pull request #134389 from thockin/takeover-130780
Add resourcequota WarningsOnCreate when request > limits
2025-10-06 14:52:58 -07:00
Lalit Chauhan
4ca286819a Add DV for uids in resourceClaim Status 2025-10-06 20:54:00 +00:00
Kubernetes Prow Robot
439a3c4f35 Merge pull request #134074 from rutigs/master
Record SyncTerminatingPod error and set error status on span when non-nil err returned
2025-10-06 12:12:59 -07:00