mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-19 15:39:17 +00:00
This commit migrates the validation of map keys for CounterSet.Counters and DeviceCounterConsumption.Counters in the ResourceSlice API from handwritten validation to declarative validation using +k8s:eachKey=+k8s:format=k8s-short-name. This simplifies the handwritten validation logic and leverages the shared declarative validation machinery.