Skip to content

Commit 491e032

Browse files
Adding to poduid to Spec
1 parent 087831b commit 491e032

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

crd/multitenancy/api/v1alpha1/multitenantpodnetworkconfig.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ type MultitenantPodNetworkConfigSpec struct {
4848
// MAC addresses of the IB devices to use for a pod
4949
// +kubebuilder:validation:Optional
5050
IBMACAddresses []string `json:"IBMACAddresses,omitempty"`
51+
// PodUID is the uid of the pod
52+
PodUID string `json:"podUID,omitempty"`
5153
}
5254

5355
// +kubebuilder:validation:Enum=Unprogrammed;Programming;Programmed;Unprogramming;Failed
@@ -108,10 +110,6 @@ type MultitenantPodNetworkConfigStatus struct {
108110
// NodeName is the name of the node where the pod is scheduled
109111
// +kubebuilder:validation:Optional
110112
NodeName string `json:"nodeName,omitempty"`
111-
// PodName is the name of the pod
112-
PodName string `json:"podName,omitempty"`
113-
// PodUID is the uid of the pod
114-
PodUID string `json:"podUID,omitempty"`
115113
}
116114

117115
func init() {

0 commit comments

Comments
 (0)