diff --git a/crd/multitenancy/api/v1alpha1/podnetwork.go b/crd/multitenancy/api/v1alpha1/podnetwork.go index a426a16bd0..8bb87d0f98 100644 --- a/crd/multitenancy/api/v1alpha1/podnetwork.go +++ b/crd/multitenancy/api/v1alpha1/podnetwork.go @@ -48,13 +48,14 @@ type PodNetworkSpec struct { } // Status indicates the status of PN -// +kubebuilder:validation:Enum=Ready;InUse;SubnetNotDelegated +// +kubebuilder:validation:Enum=Ready;InUse;SubnetNotDelegated;SubnetDelegatedToDifferentService type Status string const ( - Ready Status = "Ready" - InUse Status = "InUse" - SubnetNotDelegated Status = "SubnetNotDelegated" + Ready Status = "Ready" + InUse Status = "InUse" + SubnetNotDelegated Status = "SubnetNotDelegated" + SubnetDelegatedToDifferentService Status = "SubnetDelegatedToDifferentService" ) // PodNetworkStatus defines the observed state of PodNetwork diff --git a/crd/multitenancy/manifests/multitenancy.acn.azure.com_podnetworks.yaml b/crd/multitenancy/manifests/multitenancy.acn.azure.com_podnetworks.yaml index 5c213cecd0..cb73f5b94a 100644 --- a/crd/multitenancy/manifests/multitenancy.acn.azure.com_podnetworks.yaml +++ b/crd/multitenancy/manifests/multitenancy.acn.azure.com_podnetworks.yaml @@ -80,6 +80,7 @@ spec: - Ready - InUse - SubnetNotDelegated + - SubnetDelegatedToDifferentService type: string type: object type: object