mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 15:05:20 +00:00
DRA api: ResourceHandle.DriverName is required
It was already required via validation, but not declared as such by the OpenAPI.
This commit is contained in:
@@ -1205,6 +1205,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"driverName": {
|
||||
"default": "",
|
||||
"description": "DriverName specifies the name of the resource driver whose kubelet plugin should be invoked to process this ResourceHandle's data once it lands on a node. This may differ from the DriverName set in ResourceClaimStatus this ResourceHandle is embedded in.",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1217,6 +1218,9 @@
|
||||
"description": "If StructuredData is set, then it needs to be used instead of Data."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"driverName"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.resource.v1alpha2.ResourceRequest": {
|
||||
|
||||
Reference in New Issue
Block a user