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 dougbtv
parent bcc6e21587
commit d773dcfaad
4 changed files with 5 additions and 5 deletions

View File

@@ -114,7 +114,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