Commit graph

6 commits

Author SHA1 Message Date
dom4ha
72d770c679 Convert DisruptionMode from enum to struct 2026-05-22 12:50:19 +00:00
dom4ha
88948acc38 Remove v1alpha2 API definitions
Update client-go lister and informer imports to v1alpha3
2026-05-22 12:50:19 +00:00
dom4ha
6404ddc2b7 Add generated files for v1alpha3
Run code generation for v1alpha3
2026-05-22 12:50:18 +00:00
Yongrui Lin
44f6df54da Drop legacy hand-written validation subtest from pkg/api/testing
With DV always enforced, the "hand written validation" subtest (which
set DeclarativeValidation=off and emulated 1.35) now exercises the
same code path as "Beta disabled". Remove it along with the
MinEmulationVersion option, the WithMinEmulationVersion helper,
deDuplicateErrors, and the now-tautological imperative-vs-declarative
equivalence checks.
2026-05-20 18:54:07 +00:00
Yongrui Lin
e35569096e Rename validation-gen test fixtures to zz_generated.validations.* prefix
Mechanical rename to match the new --test-output-file-prefix value;
file contents are unchanged.
2026-05-12 20:31:33 +00:00
Yongrui Lin
a791288d81 test/declarative_validation: migrate DV equivalence tests to new tree
Move the existing declarative_validation_test.go files out of
pkg/registry/ into a top-level tree at
test/declarative_validation/<group>/<kind>/. The new location pairs
each hand-written test with the per-Kind TestMain and version-init
files emitted by validation-gen, so the coverage gate runs alongside
the equivalence checks and apiVersions no longer needs to be
hand-maintained.
2026-05-09 19:11:01 +00:00