Commit Graph

3719 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
b5c62b1b10 Merge pull request #134964 from sunya-ch/add-drop-devicebinding-fields
[DRA] Add dropDeviceBindingConditionsFields and fix immutable field on DeviceBindingConditions strategy test
2025-11-03 07:44:23 -08:00
Sunyanan Choochotkaew
b1942ae6b1 [DRA] Add dropDeviceBindingConditionsFields and fix immutable field on DeviceBindingConditions strategy test
Signed-off-by: Sunyanan Choochotkaew <sunyanan.choochotkaew1@ibm.com>
2025-10-30 17:04:43 +09:00
yongruilin
df3f5dd493 test(validation): add cases for validating maxItems in status.devices.networkData.ips 2025-10-30 07:14:06 +00:00
yongruilin
a8c9bb1f16 test(validation): add cases for validating maxItems in status allocation requests 2025-10-30 07:14:06 +00:00
yongruilin
9161461317 test(resourceclaim): add unit test for unique DeviceAllocationConfiguration.Requests in status
Add a unit test to  to verify the uniqueness validation for . This ensures that duplicate request names within this field are correctly flagged as invalid.
2025-10-30 07:14:04 +00:00
yongruilin
cc0012b450 Add Declarative validation unit test for duplicate IPs in NetworkDeviceData 2025-10-30 07:06:35 +00:00
Kubernetes Prow Robot
de28a5bfea Merge pull request #134602 from lalitc375/device-attirubute
[feat] Add k8s-resource-fully-qualified-name format
2025-10-29 16:36:01 -07:00
Kubernetes Prow Robot
3ec2d82da5 Merge pull request #134784 from michaelasp/svm_beta2
SVM: bump the API to beta, remove unused fields
2025-10-29 13:56:02 -07:00
Michael Aspinwall
3b72759d1b Update SVM to Beta
Co-authored-by: Stanislav Láznička <stlaz.devel@proton.me>
2025-10-29 19:36:11 +00:00
Lalit Chauhan
37ba7bb454 Address feedbacks 2025-10-29 04:41:10 +00:00
Lalit Chauhan
ec8c2246b2 Use k8s-resource-fully-qualified-name format to validate MatchAttribute 2025-10-29 04:41:07 +00:00
Kubernetes Prow Robot
06bbf2abbc Merge pull request #134796 from darshansreenivas/dtumkur-pr-storage-tag-migration
feat: wire storage group for declarative validation and +k8s:required to StorageClass.Provisioner
2025-10-28 17:54:00 -07:00
Kubernetes Prow Robot
dbf19f370a Merge pull request #134836 from lalitc375/maxLen
Use eachKey DV in DRA resources.
2025-10-28 17:04:07 -07:00
Kubernetes Prow Robot
239c3c32ef Merge pull request #134922 from soltysh/registry_owners
Update OWNERS to sig-apps owned registry packages (batch & policy)
2025-10-28 16:12:07 -07:00
darshansreenivas
68710ce086 add declarative validation test
- restore v1alpha1
- fix lint issues
- ensure tests run with valid objects
2025-10-28 14:56:10 -07:00
darshansreenivas
2e257dffd8 update code-gen for new tags and ignore v1alpha1 2025-10-28 14:53:54 -07:00
Lalit Chauhan
8f0a6583ca Use eachKey DV in DRA resources. 2025-10-28 20:09:09 +00:00
Kubernetes Prow Robot
bdcff90855 Merge pull request #134805 from aaron-prindle/dv-deviceclaim-subfield
feat: add subfield +k8s:format=k8s-long-name validation for DeviceClass ObjeMeta.Name field
2025-10-28 12:10:03 -07:00
Aaron Prindle
9c32e488db use tweak pattern 2025-10-28 17:38:32 +00:00
Kubernetes Prow Robot
d5efbf2ebf Merge pull request #134452 from pohly/dra-ga-feature-gate
DRA: lock to default-on
2025-10-28 07:49:36 -07:00
Maciej Szulik
b1a8d8849e Update OWNERS to sig-apps owned registry packages (batch & policy)
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-10-28 11:36:45 +01:00
Kubernetes Prow Robot
ffdfc17ebc Merge pull request #134824 from lalitc375/union
use union member DV in the DRA
2025-10-27 10:29:35 -07:00
Lalit Chauhan
8a6b3caaa0 use union member DV in the DRA 2025-10-24 23:04:48 +00:00
Kubernetes Prow Robot
1135d04f1d Merge pull request #134826 from aramase/aramase/f/kep_5538_beta_impl
CSI driver opt-in for service account tokens via secrets field
2025-10-24 13:57:35 -07:00
Kubernetes Prow Robot
8de3b303e0 Merge pull request #134807 from yongruilin/master_maxlength
Add k8s:maxLength tag and use it on NetworkDeviceData fields
2025-10-24 12:15:41 -07:00
Patrick Ohly
8b6f98b06e DRA: lock to default-on
The core functionality was enabled by default in 1.34 without any issues that
would have suggested turning it off, so now we can lock it to on-by-default.

Tests which cover disabling the feature must use version emulation.
2025-10-24 20:04:20 +02:00
Anish Ramasekar
30a6d4b389 Add CSI driver opt-in for service account tokens via secrets field
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-10-24 11:04:02 -07:00
Dan Winship
715228f478 Remove LoadBalancerIPMode feature gate 2025-10-24 09:12:03 -04:00
Kubernetes Prow Robot
6652c9fadf Merge pull request #134457 from danwinship/prefersamenode
KEP-3015: update PreferSameTrafficDistribution to GA
2025-10-23 14:41:33 -07:00
Aaron Prindle
9ba536c2e4 feat: add subfield +k8s:format=k8s-long-name validation for DeviceClass ObjeMeta.Name field 2025-10-23 16:42:58 +00:00
Kubernetes Prow Robot
87a2b7138b Merge pull request #134767 from lalitc375/slice
Enable DV for resourceslice
2025-10-22 17:38:52 -07:00
Kubernetes Prow Robot
370c2f1d98 Merge pull request #134537 from itzPranshul/master-vg-enable-clusterRole
[RBAC] Enable Declarative Validation(DV) support for ClusterRole and RoleBinding
2025-10-22 16:48:38 -07:00
Lalit Chauhan
2061ec2be9 Enable DV for resourceslice 2025-10-22 22:48:25 +00:00
yongruilin
f851bc7ce5 test(validation): add cases HardwareAddress length in ResourceClaim status 2025-10-22 22:42:32 +00:00
yongruilin
c3006a9bb9 test(validation): add cases for valid and invalid NetworkDeviceData.InterfaceName length 2025-10-22 22:42:30 +00:00
Kubernetes Prow Robot
5105b1d791 Merge pull request #134577 from seans3/synthetic-create
Implements synthetic create authz permission check for exec, attach, and portforward
2025-10-21 19:44:37 -07:00
Kubernetes Prow Robot
6c8a609fd0 Merge pull request #134555 from aaron-prindle/dv-enum-migration
feat: add +k8s:enum declarative validation to ResourceClaim DeviceTolerationOperator and DeviceTaintEffect
2025-10-21 15:54:37 -07:00
Sean Sullivan
413c34f319 Added feature gate and tests 2025-10-21 20:31:24 +00:00
Jordan Liggitt
339dba881f Add synthetic create authz check to pods/exec, pods/attach, pods/portforward 2025-10-21 18:26:06 +00:00
Lalit Chauhan
95c42b9951 Fix rebase issues 2025-10-21 18:09:10 +00:00
Lalit Chauhan
cf96486aed Add format validator for DeviceClass.ExtendedResourceName 2025-10-21 18:09:10 +00:00
Kubernetes Prow Robot
3eeb838aba Merge pull request #132927 from pohly/dra-api-strategy-todo
DRA API: implement ResourceClaim strategy for DRADeviceTaints
2025-10-21 05:54:41 -07:00
Patrick Ohly
da80b554a7 DRA API: unify dropped field logic for ResourceClaim and ResourceClaimTemplate
The spec is the same in both, so those fields are now handled by common
code. For ResourceClaim spec updates, the "in use" check now only considers
the spec.

Theoretically some features could be in use in an old ResourceClaim status
and not in use in the spec. This can only occur in a spec update, which is
currently prevented because the entire spec is immutable. Even if it was
allowed, preventing adding disabled fields to the spec is the right thing to
do regardless of what may have ended up in the status earlier.
2025-10-21 12:22:52 +02:00
pranshul gupta
dbb3941cfe Declarative validation coverage for RoleRef.Name and Subject.Name in RoleBinding# 2025-10-21 11:51:20 +05:30
yongruilin
ce93309f4c test(validation): Add tests for bindingFailureConditions maxItems validation 2025-10-20 23:35:09 +00:00
yongruilin
2ad5127a79 test(validation): Add tests for bindingConditions maxItems validation 2025-10-20 23:35:06 +00:00
Aaron Prindle
47e9686b4d feat(validation-gen): add +k8s:format=k8s-long-name-caseless declarative validation for DeviceRequestAllocationResult.Driver 2025-10-19 23:55:16 +00:00
Aaron Prindle
0cf9102763 feat: add +k8s:enum declarative validation to ResourceClaim DeviceTolerationOperator and DeviceTaintEffect 2025-10-19 22:36:15 +00:00
Lalit Chauhan
2072acb3ba Add listType=map and listMapekeys on ResourceClaimStatus.Devices 2025-10-17 22:48:52 +00:00
Kubernetes Prow Robot
2158dd67e9 Merge pull request #134630 from lalitc375/k8s-enum
feat: add enum validation for AllocationConfigSource
2025-10-17 15:40:51 -07:00