Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ type MultitenantPodNetworkConfigSpec struct {
// MAC addresses of the IB devices to use for a pod
// +kubebuilder:validation:Optional
IBMACAddresses []string `json:"IBMACAddresses,omitempty"`
// PodUID is the UID of the pod
PodUID string `json:"podUID,omitempty"`
}

// +kubebuilder:validation:Enum=Unprogrammed;Programming;Programmed;Unprogramming;Failed
Expand Down Expand Up @@ -105,6 +107,9 @@ type MultitenantPodNetworkConfigStatus struct {
// DefaultDenyACL bool indicates whether default deny policy will be present on the pods upon pod creation
// +kubebuilder:validation:Optional
DefaultDenyACL bool `json:"defaultDenyACL"`
// NodeName is the name of the node where the pod is scheduled
// +kubebuilder:validation:Optional
NodeName string `json:"nodeName,omitempty"`
}

func init() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ spec:
podNetworkInstance:
description: name of PNI object from requesting cx pod
type: string
podUID:
description: PodUID is the UID of the pod
type: string
required:
- podNetwork
type: object
Expand Down Expand Up @@ -135,6 +138,9 @@ spec:
ncID:
description: Deprecated - use InterfaceInfos
type: string
nodeName:
description: NodeName is the name of the node where the pod is scheduled
type: string
primaryIP:
description: Deprecated - use InterfaceInfos
type: string
Expand Down
Loading