Skip to content

Commit 42b076f

Browse files
committed
update mtpnc statuses
1 parent 7a27bf0 commit 42b076f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

crd/multitenancy/api/v1alpha1/multitenantpodnetworkconfig.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,17 @@ const (
6262
)
6363

6464
// MTPNCStatus indicates the high-level status of MultitenantPodNetworkConfig
65-
// +kubebuilder:validation:Enum=Ready;Pending;InternalError;NodeCapacityExceeded;SubnetExhaustionError;NodeLinkedToAnotherMTPNC
65+
// +kubebuilder:validation:Enum=Ready;Pending;InternalError;PNINotFound;PNINotReady;NodeCapacityExceeded;SubnetExhaustionError
6666
type MTPNCStatus string
6767

6868
const (
6969
MTPNCStatusReady MTPNCStatus = "Ready"
7070
MTPNCStatusPending MTPNCStatus = "Pending"
7171
MTPNCStatusInternalError MTPNCStatus = "InternalError"
72+
MTPNCStatusPNINotFound MTPNCStatus = "PNINotFound"
73+
MTPNCStatusPNINotReady MTPNCStatus = "PNINotReady"
7274
MTPNCStatusNodeCapacityExceeded MTPNCStatus = "NodeCapacityExceeded"
7375
MTPNCStatusSubnetExhaustionError MTPNCStatus = "SubnetExhaustionError"
74-
MTPNCStatusNodeLinkedToAnotherMTPNC MTPNCStatus = "NodeLinkedToAnotherMTPNC"
7576
)
7677

7778
type InterfaceInfo struct {

crd/multitenancy/manifests/multitenancy.acn.azure.com_multitenantpodnetworkconfigs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,10 @@ spec:
144144
- Ready
145145
- Pending
146146
- InternalError
147+
- PNINotFound
148+
- PNINotReady
147149
- NodeCapacityExceeded
148150
- SubnetExhaustionError
149-
- NodeLinkedToAnotherMTPNC
150151
type: string
151152
type: object
152153
type: object

0 commit comments

Comments
 (0)