From 368193c5f569fdac2fe7789fcb88dfeee37fc43a Mon Sep 17 00:00:00 2001 From: Sharif Nasser Kadamani <28870483+sharifnasser@users.noreply.github.com> Date: Tue, 2 Jul 2024 22:04:59 -0700 Subject: [PATCH] feat: add subnet address space to mtpnc status (#2825) * feat: add subnet address space to mtpnc status * ref: regenerate multitenancy crds --------- Co-authored-by: Kshitija Murudi --- crd/multitenancy/api/v1alpha1/multitenantpodnetworkconfig.go | 3 +++ ...ltitenancy.acn.azure.com_multitenantpodnetworkconfigs.yaml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/crd/multitenancy/api/v1alpha1/multitenantpodnetworkconfig.go b/crd/multitenancy/api/v1alpha1/multitenantpodnetworkconfig.go index 0cedf135cd..ab481fa496 100644 --- a/crd/multitenancy/api/v1alpha1/multitenantpodnetworkconfig.go +++ b/crd/multitenancy/api/v1alpha1/multitenantpodnetworkconfig.go @@ -58,6 +58,9 @@ type InterfaceInfo struct { // GatewayIP is the gateway ip of the injected subnet // +kubebuilder:validation:Optional GatewayIP string `json:"gatewayIP,omitempty"` + // SubnetAddressSpace is the subnet address space of the injected subnet + // +kubebuilder:validation:Optional + SubnetAddressSpace string `json:"subnetAddressSpace,omitempty"` // DeviceType is the device type that this NC was created for DeviceType DeviceType `json:"deviceType,omitempty"` // AccelnetEnabled determines if the CNI will provision the NIC with accelerated networking enabled diff --git a/crd/multitenancy/manifests/multitenancy.acn.azure.com_multitenantpodnetworkconfigs.yaml b/crd/multitenancy/manifests/multitenancy.acn.azure.com_multitenantpodnetworkconfigs.yaml index db86838975..670cd15084 100644 --- a/crd/multitenancy/manifests/multitenancy.acn.azure.com_multitenantpodnetworkconfigs.yaml +++ b/crd/multitenancy/manifests/multitenancy.acn.azure.com_multitenantpodnetworkconfigs.yaml @@ -99,6 +99,10 @@ spec: primaryIP: description: PrimaryIP is the ip allocated to the network container type: string + subnetAddressSpace: + description: SubnetAddressSpace is the subnet address space + of the injected subnet + type: string type: object type: array macAddress: