mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-22 09:40:07 +00:00
This change migrates the validation for unique device request names for the DeviceClaim.Requests field to a declarative format. The `+k8s:unique=map` and `+k8s:listMapKey=name` tags have been added to the `Requests` field within the `DeviceClaim` API type. This ensures the generated validation code enforces that all entries in the `requests` slice have a unique `name`.