CRD: interfaceRequest -> interface (v1 spec conformance)

Change the Network Attachment Selection Annotation long-form
interface name request JSON key from 'interfaceRequest' to
'interface' to conform with the V1 NPWG spec.
This commit is contained in:
Dan Williams
2018-11-08 09:15:38 -06:00
committed by Tomofumi Hayashi
parent 9f00ea47f5
commit 5ef87bfd71
4 changed files with 5 additions and 5 deletions

View File

@@ -125,7 +125,7 @@ type NetworkSelectionElement struct {
MacRequest string `json:"mac,omitempty"`
// InterfaceRequest contains an optional requested name for the
// network interface this attachment will create in the container
InterfaceRequest string `json:"interfaceRequest,omitempty"`
InterfaceRequest string `json:"interface,omitempty"`
}
// K8sArgs is the valid CNI_ARGS used for Kubernetes