kubernetes/pkg/api/testing
Yongrui Lin 4dabaebe45 api/testing: auto-discover declarative-validation GVKs in fuzz test
TestVersionedValidationByFuzzing swept a hand-maintained list of
group/versions that had a typo (network.k8s.io) and omitted several
groups (apps, policy, rbac, flowcontrol, scheduling). Replace it with a
sweep of the scheme for served GVKs that have declarative validation,
so new group/versions are covered automatically.

Skip extensions/v1beta1 centrally in VerifyVersionedValidationEquivalence
instead of via the per-call WithSkipGroupVersions option: it opts out of
declarative validation but shares an internal type with versions that do
not. Any other version missing declarative validation now fails the sweep
rather than being silently skipped.
2026-07-01 17:07:29 +00:00
..
compat hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
applyconfiguration_test.go Use randfill, do API renames 2025-03-08 15:18:00 -08:00
backward_compatibility_test.go Implement pod deletion cost 2021-03-01 13:45:58 -05:00
conversion.go pkg/api: Fix golint errors 2018-09-07 12:31:25 +05:30
conversion_test.go Use randfill, do API renames 2025-03-08 15:18:00 -08:00
copy_test.go Use randfill, do API renames 2025-03-08 15:18:00 -08:00
deep_copy_test.go Move from k8s.gcr.io to registry.k8s.io 2022-05-31 10:16:53 -04:00
defaulting_test.go Remove v1alpha2 API definitions 2026-05-22 12:50:19 +00:00
doc.go pkg/api: move *_test.go -> pkg/api/testing 2017-10-11 16:04:50 +02:00
fuzzer.go Use randfill, do API renames 2025-03-08 15:18:00 -08:00
install.go api: dynamic resource allocation API 2022-11-10 20:08:24 +01:00
meta_test.go Remove selflink references in api tests 2022-02-14 11:11:56 +01:00
node_example.json Avoid using Docker Engine as example for container runtime 2022-03-25 00:36:50 +00:00
OWNERS Update pkg/api/testing/OWNERS 2025-09-16 16:05:21 -04:00
replication_controller_example.json Drop null creationTimestamp from test fixtures 2025-05-02 15:38:40 -04:00
serialization_proto_test.go switch tag Get("json") to Lookup("json") 2026-05-13 11:24:07 -04:00
serialization_test.go Use randfill, do API renames 2025-03-08 15:18:00 -08:00
unstructured_test.go Use randfill, do API renames 2025-03-08 15:18:00 -08:00
validate_pod_level_defaults_test.go Unit test pod level hugepage Default and Validation logic 2025-07-24 21:29:04 +00:00
validation.go api/testing: auto-discover declarative-validation GVKs in fuzz test 2026-07-01 17:07:29 +00:00
validation_test.go api/testing: auto-discover declarative-validation GVKs in fuzz test 2026-07-01 17:07:29 +00:00