forked from github/multus-cni
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user