mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-17 20:00:07 +00:00
This commit introduces enum-based validation for the `AllocationConfigSource` field. The following changes are included: - The `AllocationConfigSource` type is now marked with `+k8s:enum`. - The `Source` field in `DeviceAllocationConfiguration` is marked as required. - Generated validation files are updated to enforce the enum constraint. - A declarative validation test is added for the `AllocationConfigSource` field.