Kubernetes Prow Robot
c8e45a3331
Merge pull request #136620 from yongruilin/master_vg-fix-fuzz
...
fix DeclarativeValidation fuzzing test panic and refactor subresource handlin
2026-01-30 03:08:04 +05:30
Kubernetes Prow Robot
3760cdc64a
Merge pull request #136482 from aaron-prindle/dv-feature-gate-ga
...
Graduate DeclarativeValidation feature gate to GA
2026-01-30 03:07:48 +05:30
yongruilin
fbefdc816f
refactor subresource handling in versioned validation fuzz tests
...
Refactor TestVersionedValidationByFuzzing to use a declarative map,
subresourceOnly, for resources that must be validated via a specific
subresource path (like autoscaling/Scale).
GVKs not in this map default to root-level validation (""), which is
sufficient for resources that share validation logic between their root
and subresources. This replaces the previous ad-hoc special-casing
with a cleaner, extensible mapping.
2026-01-29 10:30:12 +00:00
yongruilin
64140b8385
fuzz internal objects in versioned validation tests
...
Fuzzing must be performed on the internal version of objects because
custom fuzzing functions are typically registered for internal types.
This ensures that all fields are properly initialized with random values
before being converted to various API versions for validation.
Move fuzzing logic into VerifyVersionedValidationEquivalence via a new
WithFuzzer option. This also fixes a panic that occurred when attempting
to fuzz types without an internal version (e.g., APIGroupList) by adding
a nil check after internal conversion.
2026-01-29 10:29:55 +00:00
Aaron Prindle
0cab277183
Graduate DeclarativeValidation feature gate to GA
...
This change graduates the 'DeclarativeValidation' feature gate to GA in v1.36.
The feature gate is now locked to 'true' by default.
Changes:
- Updated 'DeclarativeValidation' feature gate to GA in 'pkg/features/kube_features.go' and 'staging/src/k8s.io/apiserver/pkg/features/kube_features.go'.
- Updated feature gate documentation and versioned lists via 'hack/update-featuregates.sh'.
- Added feature gate emulation versioning to tests that explicitly disable 'DeclarativeValidation' to prevent panics now that the gate is locked to default.
2026-01-29 05:38:20 +00:00
darshansreenivas
0b635116f1
feat(admissionregistration): enable declarative validation wiring and require ValidationActions
2026-01-24 03:46:24 -08:00
Kubernetes Prow Robot
5eb7087ccb
Merge pull request #135761 from darshansreenivas/admissionregistratio_k8s_io_policy_name
...
feat: wire admissionregistration group for declarative validation and +k8s:required to ValidatingAdmissionPolicyBindingSpec.PolicyName
2026-01-24 10:33:31 +05:30
darshansreenivas
04ea1eabff
feat(admissionregistration): wire group for declarative validation and require PolicyName
2026-01-22 11:19:22 -08:00
Kubernetes Prow Robot
f4ed7b3e28
Merge pull request #135951 from droach282/cronjob-schedule-dv
...
Adding declarative validations to CronJob Schedule field
2026-01-16 17:18:49 +05:30
Dan Roach
5b5cc2d498
Adding declarative validations to CronJob
2026-01-15 14:05:15 -07:00
Lalit Chauhan
c3fecccd3e
Make sure errors present in declarative validation test files are DV errors
2026-01-15 17:42:02 +00:00
CLBRITTON2
a6618afc29
Wire discovery v1/v1beta1 for fuzz testing
2026-01-09 11:54:51 -05:00
Lalit Chauhan
55041b832f
Bring the changes back which was removed due to accident in #134909
2026-01-09 00:02:41 +00:00
Darshan Murthy
1c24a05ce1
wire network group for declarative validation and +k8s:required to IngressClassParametersReference.Name and IngressClassParametersReference.Kind ( #134909 )
2026-01-09 03:11:43 +05:30
Lalit Chauhan
4e6aafb9b3
Address feedbacks
2026-01-06 18:38:35 +00:00
Lalit Chauhan
e83723ce2c
Add ignoreConversionErrors option to validation testing
...
This commit adds an 'IgnoreObjectConversionErrors' option to the
validation testing framework in 'k8s.io/apimachinery' and exposes it
via 'pkg/api/testing'.
This is useful for fuzzing tests where we might want to skip object
versions that cannot be converted from the internal version (e.g. due to
missing fields or incompatible types in older versions) but still want
to test validation for the versions that *can* be converted.
The 'autoscaling' group versions are added to 'TestVersionedValidationByFuzzing'
with this option enabled.
2026-01-06 18:23:26 +00:00
Kubernetes Prow Robot
b9d491f56e
Merge pull request #134556 from carlory/fix-133160
...
lock the feature-gate VolumeAttributesClass to default (true)
2025-12-18 15:13:17 -08:00
Kubernetes Prow Robot
3347801a59
Merge pull request #135046 from darshansreenivas/node-tag-migration-dtumkur
...
feat: wire node group for declarative validation
2025-12-18 13:29:16 -08:00
carlory
f8e8e55f1d
locked the feature-gate VolumeAttributesClass to default (true) and switch storage version from v1beta1 to v1
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-12-18 15:59:33 +08:00
darshansreenivas
897adb7b48
DRA: adding tag to node module
...
move DRA to a update method
fix boilerplate code
apply node normalize code at fuzz logic
adding normalization fix
fix nit
2025-12-04 23:03:21 -08:00
Itamar Holder
2c15d3b8e1
Add field wiping and validation logic
...
Signed-off-by: Itamar Holder <iholder@redhat.com>
2025-11-18 14:14:41 +02:00
ndixita
5ac2ffcc1e
Enabling NodeDeclaredFeatures in unit tests
...
Signed-off-by: ndixita <ndixita@google.com>
2025-11-12 08:26:15 +00:00
ndixita
84776abaff
Modifying validation logic and pod strategy for PodResize to accommodate for Pod Level Resources resize
2025-11-11 18:15:22 +00:00
ndixita
69c1fd72aa
API changes for Pod Level IPPR related PodStatus fields
2025-11-11 18:15:17 +00:00
Kubernetes Prow Robot
462ee14a36
Merge pull request #134345 from yuanwang04/restart-pod
...
Implement RestartAllContainers
2025-11-11 07:18:56 -08:00
Heba
aceb89debc
KEP-5471: Extend tolerations operators ( #134665 )
...
* Add numeric operations to tolerations
Signed-off-by: Heba Elayoty <heelayot@microsoft.com>
* code review feedback
Signed-off-by: Heba Elayoty <heelayot@microsoft.com>
* add default feature gate
Signed-off-by: Heba Elayoty <heelayot@microsoft.com>
* Add integration tests
Signed-off-by: Heba Elayoty <heelayot@microsoft.com>
* Add toleration value validation
Signed-off-by: Heba Elayoty <heelayot@microsoft.com>
* Add validate options for new operators
Signed-off-by: helayoty <heelayot@microsoft.com>
* Remove log
Signed-off-by: helayoty <heelayot@microsoft.com>
* Update feature gate check
Signed-off-by: helayoty <heelayot@microsoft.com>
* emove IsValidNumericString func
Signed-off-by: helayoty <heelayot@microsoft.com>
* Implement IsDecimalInteger
Signed-off-by: helayoty <heelayot@microsoft.com>
* code review feedback
Signed-off-by: helayoty <heelayot@microsoft.com>
* Add logs to v1/toleration
Signed-off-by: Heba Elayoty <heelayot@microsoft.com>
Signed-off-by: helayoty <heelayot@microsoft.com>
* Update integration tests and address code review feedback
Signed-off-by: helayoty <heelayot@microsoft.com>
* Add feature gate to the scheduler framework
Signed-off-by: helayoty <heelayot@microsoft.com>
* Remove extra test
Signed-off-by: helayoty <heelayot@microsoft.com>
* Fix integration test
Signed-off-by: helayoty <heelayot@microsoft.com>
* pass feature gate via TolerationsTolerateTaint
Signed-off-by: helayoty <heelayot@microsoft.com>
---------
Signed-off-by: Heba Elayoty <heelayot@microsoft.com>
Signed-off-by: helayoty <heelayot@microsoft.com>
2025-11-10 12:42:54 -08:00
Yuan Wang
aac951d902
Add dependency for NodeDeclaredFeatures
2025-11-10 09:41:02 +00:00
Yuan Wang
97c3f575b9
Refactor validation
2025-11-10 09:41:02 +00:00
Yuan Wang
83c5cd5526
Implement restartPod action
2025-11-10 09:41:02 +00:00
Kubernetes Prow Robot
171d2dacd2
Merge pull request #134893 from HirazawaUi/kep-5607
...
KEP-5607: Allow hostNetwork pods to use user namespace
2025-11-06 12:43:15 -08:00
Kubernetes Prow Robot
9cd72862d8
Merge pull request #135166 from lalitc375/fix-sorting
...
fix sorting logic after after normalizing errors
2025-11-06 11:51:13 -08:00
Kubernetes Prow Robot
43cd2d207d
Merge pull request #134615 from sunya-ch/consumable-capacity-testing-update
...
DRA: ConsumableCapacity update allocating and registry test cases
2025-11-06 08:29:01 -08:00
HirazawaUi
e986000e6a
KEP-5607: Allow hostNetwork pods to use user namespaces
2025-11-06 22:45:36 +08:00
Maciej Skoczeń
9677ac4c0b
api: Add WorkloadReference to Pod spec
2025-11-06 09:36:42 +00:00
Lalit Chauhan
ee481b97e0
fix sorting logic after after normalizing errors
2025-11-06 06:17:49 +00:00
Kubernetes Prow Robot
c35cd16295
Merge pull request #135088 from everpeace/KEP-3619-GA
...
KEP-3619: Promote SupplementalGroupspolicy feature To GA
2025-11-05 18:53:05 -08:00
Sunyanan Choochotkaew
801de96635
DRA: ConsumableCapacity update allocating and registry test cases
...
Signed-off-by: Sunyanan Choochotkaew <sunyanan.choochotkaew1@ibm.com>
2025-11-06 09:19:19 +09:00
Shingo Omura
120bcee057
KE-3619: fix emulation version in unit tests
2025-11-05 09:28:10 +09:00
Sunyanan Choochotkaew
4acafd9245
[DRA] Fix unexpected errors on ResourceClaim strategy update
...
- Fix setting distinctAttribute=nil when DRAConsumableCapacity is disabled
- Add must have no error check when no error expected in strategy test
- Update test case that causes unexpected errors
Signed-off-by: Sunyanan Choochotkaew <sunyanan.choochotkaew1@ibm.com>
2025-11-05 08:45:51 +09:00
Shingo Omura
b3aeead3e2
KEP-3617: Graduate SupplementalGroupsPolicy feature gate to GA and lock to default
2025-11-04 16:44:57 +09:00
tinatingyu
59e075e8d3
Promote PodCertificateRequests to v1beta1
2025-11-02 05:33:44 +00:00
Kubernetes Prow Robot
a13ad97048
Merge pull request #134949 from natasha41575/ippr-ga
...
Promote InPlacePodVerticalScaling to GA
2025-10-30 20:06:01 -07:00
Natasha Sarkar
1d9c646892
fix unit tests for ippr ga
2025-10-30 17:28:42 +00:00
Natasha Sarkar
4a991bbbd9
fix unit tests for pod gen GA
2025-10-29 16:34:18 +00:00
darshansreenivas
4a9a010c53
adding back v1alpha1
2025-10-28 14:58:43 -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
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
Kubernetes Prow Robot
60e1f61a63
Merge pull request #133511 from BenTheElder/no-md5
...
eliminate md5 usage, block new usage
2025-10-24 10:59:35 -07: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