kubernetes/pkg/api/testing
Patrick Ohly 566dc7f3f3 DRA device taints: graduate to beta
The fields become beta, enabled by default. DeviceTaintRule gets
added to the v1beta2 API, but support for it must remain off by default
because that API group is also off by default.

The v1beta1 API is left unchanged. No-one should be using it
anymore (deprecated in 1.33, could be removed now if it wasn't for
reading old objects and version emulation).

To achieve consistent validation, declarative validation must be enabled also
for v1alpha3 (was already enabled for other versions). Otherwise,
TestVersionedValidationByFuzzing fails:

    --- FAIL: TestVersionedValidationByFuzzing (0.09s)
        --- FAIL: TestVersionedValidationByFuzzing/resource.k8s.io/v1beta2,_Kind=DeviceTaintRule (0.00s)
            validation_test.go:109: different error count (0 vs. 1)
                resource.k8s.io/v1alpha3: <no errors>
                resource.k8s.io/v1beta2: "spec.taint.effect: Unsupported value: \"幤HxÒQP¹¬永唂ȳ垞ş]嘨鶊\": supported values: \"NoExecute\", \"NoSchedule\", \"None\""
            ...
2026-03-12 18:26:02 +01:00
..
compat
applyconfiguration_test.go
backward_compatibility_test.go
conversion.go
conversion_test.go
copy_test.go
deep_copy_test.go
defaulting_test.go DRA device taints: graduate to beta 2026-03-12 18:26:02 +01:00
doc.go
fuzzer.go
install.go
meta_test.go
node_example.json
OWNERS Update pkg/api/testing/OWNERS 2025-09-16 16:05:21 -04:00
replication_controller_example.json
serialization_proto_test.go Drop unnecessary gogo dependencies 2025-09-23 13:44:20 -04:00
serialization_test.go
unstructured_test.go
validate_pod_level_defaults_test.go
validation.go Add WithMinEmulationVersion option to skip hand-written validation sub-test 2026-02-26 21:36:40 +00:00
validation_test.go DRA device taints: graduate to beta 2026-03-12 18:26:02 +01:00