Commit Graph

4726 Commits

Author SHA1 Message Date
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
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
Dan Winship
b5297b18ab Remove AllowServiceLBStatusOnNonLB feature gate 2025-10-24 09:12:01 -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
yongruilin
78796239cf feat(validation): add k8s:optional tag to InterfaceName and HardwareAddress in NetworkDeviceData across all versions 2025-10-23 21:04:02 +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
833c026435 feat(dra): add k8s:maxLength tag on HardwareAddress in NetworkDeviceData 2025-10-22 22:42:32 +00:00
yongruilin
6fa8cb4a99 feat(dra): add k8s:maxLength on NetworkData.InterfaceName 2025-10-22 22:41:07 +00:00
yongruilin
2b4495f66a feat(dra): add k8s:optional on AllocatedDeviceStatus.NetworkData 2025-10-22 22:38:47 +00: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
Kubernetes Prow Robot
2db2d7b1b5 Merge pull request #134463 from cvan20191/fix-resizepolicy-ephemeral-container-docs
Fix resizepolicy ephemeral container docs
2025-10-21 14:08:39 -07:00
Kubernetes Prow Robot
de07331f0f Merge pull request #134358 from lalitc375/extended-resource-name
feat: Add k8s-extended-resource-name format and validator for DeviceClass
2025-10-21 13:16:38 -07:00
Lalit Chauhan
229b33c440 Address feedbacks 2025-10-21 18:09:10 +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
Lubomir I. Ivanov
3968f7ec5d apis/apps/fuzzer: add missing MaxUnavailable defaulting
Include defaulting in the StatefulSet fuzzer for the field
RollingUpdate.MaxUnavailable, otherwise when the feature gate
MaxUnavailableStatefulSet is enabled it changes the default
in SetDefaults_StatefulSet from /pkg/apis/apps/v1/defaults.go.

That can cause errors such as:
  --- FAIL: TestRoundTripTypes (1.05s)

...

  - MaxUnavailable: nil,
  + MaxUnavailable: s"1",
2025-10-21 19:03:57 +02:00
Christian Van
b95439f6d1 docs: EphemeralContainerCommon.ResizePolicy: This field cannot be set on ephemeral containers 2025-10-21 11:49:17 -04:00
pranshul gupta
dbb3941cfe Declarative validation coverage for RoleRef.Name and Subject.Name in RoleBinding# 2025-10-21 11:51:20 +05:30
Aaron Prindle
2e0319181d address feedback 2025-10-21 00:27:25 +00:00
yongruilin
a817e2b923 test(validation): Mark bindingConditions and bindingFailureConditions errors as covered by declarative 2025-10-20 23:38:48 +00:00
yongruilin
2a116e29ce feat(dra): Add maxItems tag on DeviceRequestAllocationResul.BindingFailureConditions field 2025-10-20 23:35:09 +00:00
yongruilin
ab08274be1 feat(dra): Add maxItems tag on DeviceRequestAllocationResul.BindingConditions field 2025-10-20 23:34:00 +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
Lalit Chauhan
1f803aa314 Use DV for long name validation of spec.devices.requests[%d].firstAvailable[%d].deviceClassName 2025-10-17 19:15:34 +00:00
Kubernetes Prow Robot
4bb072512e Merge pull request #134446 from aaron-prindle/dv-device-allocation-mode-enum-migration
feat: add +k8s:enum declarative validation to ResourceClaim DeviceAllocationMode
2025-10-17 11:54:41 -07:00
pranshul gupta
6ae916a577 rbac: Remove PolicyRule.Verbs from declarative validation migration 2025-10-17 23:18:49 +05:30
pranshul gupta
2ea3d3815c feat(validation-gen): Add declarative validation support for rolebinding(v1,v1alpha1,v1beta1) 2025-10-17 23:18:49 +05:30
pranshul gupta
4e660cc05b feat(validation-gen): Add declarative validation support for ClusterRole(v1,v1alpha1,v1beta1) 2025-10-17 23:11:26 +05:30
Aaron Prindle
2fd727bf92 address feedback - comment on declarative defaulting gap w/ DV 2025-10-16 22:47:22 +00:00
Kubernetes Prow Robot
7af016ec31 Merge pull request #133153 from helayoty/helayoty/enable-beta-maxUnavailable
Update MaxUnavailableStatefulSet feature gate to beta
2025-10-16 12:04:50 -07:00
Kubernetes Prow Robot
50e3cb3f58 Merge pull request #133128 from jm-franc/set-gate-to-beta
Promote HPAConfigurableTolerance gate to beta
2025-10-16 12:04:43 -07:00
Aaron Prindle
9d83f71cde fix validation_test.go to use path normalization 2025-10-16 17:40:19 +00:00
Aaron Prindle
a77f845141 address feedback - remove origin for enum as NotSupported handles this 2025-10-16 17:40:19 +00:00
Aaron Prindle
9a7dace734 feat: add +k8s:enum declarative validation to ResourceClaim DeviceAllocationMode 2025-10-16 17:40:18 +00:00
Lalit Chauhan
9020a17731 feat: add enum validation for AllocationConfigSource
This commit introduces enum-based validation for the `AllocationConfigSource` field.

The following changes are included:
- The `AllocationConfigSource` type is now marked with `+k8s:enum`.
- The `Source` field in `DeviceAllocationConfiguration` is marked as required.
- Generated validation files are updated to enforce the enum constraint.
- A declarative validation test is added for the `AllocationConfigSource` field.
2025-10-16 04:28:14 +00:00
Tim Allclair
debe026b21 Fix unit tests to work with explicit depndencies 2025-10-15 15:04:26 -07:00
Kubernetes Prow Robot
f7fb7cd86b Merge pull request #134588 from liggitt/fixes-only-no-go-bump
go 1.25.2/1.24.8 related fixes
2025-10-14 07:45:36 -07:00
Dan Winship
3176ef2760 Update TrafficDistribution docs for PreferSame* GA 2025-10-14 08:24:21 -04:00
Dan Winship
02926c9563 Update PreferSameTrafficDistribution to GA 2025-10-14 08:20:43 -04:00
Dan Winship
b13564a63c Belatedly remove references to PreferSameTrafficDistribution being Alpha 2025-10-14 08:18:05 -04:00
Kubernetes Prow Robot
5277a104e6 Merge pull request #134496 from yongruilin/master_vg-rc-unique
feat(DRA): migrate list uniqueness to declarative validation
2025-10-13 20:37:33 -07:00
Kubernetes Prow Robot
7d87691fe3 Merge pull request #134558 from yongruilin/master_vg-rcstatus-maxitem
feat(validation): add k8s:update & migrate ResourceClaimStatus maxItem validation to declarative
2025-10-13 16:29:33 -07: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