Skip to content

Commit 7a27bf0

Browse files
committed
add crd manifest
1 parent e596ed4 commit 7a27bf0

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

crd/multitenancy/api/v1alpha1/multitenantpodnetworkconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const (
6262
)
6363

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

6868
const (

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,16 @@ spec:
138138
primaryIP:
139139
description: Deprecated - use InterfaceInfos
140140
type: string
141+
status:
142+
description: Status represents the overall status of the MTPNC
143+
enum:
144+
- Ready
145+
- Pending
146+
- InternalError
147+
- NodeCapacityExceeded
148+
- SubnetExhaustionError
149+
- NodeLinkedToAnotherMTPNC
150+
type: string
141151
type: object
142152
type: object
143153
served: true

0 commit comments

Comments
 (0)