From 2ebc4f1ff0785bbee1e34cd031181eddd8c2039a Mon Sep 17 00:00:00 2001 From: Ashish Nair Date: Tue, 7 Jan 2025 13:56:45 -0800 Subject: [PATCH] Keeping the version as uint to avoid casting it multiple times and DNC has NCGoalstate as uint --- crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go | 2 +- .../manifests/acn.azure.com_nodenetworkconfigs.yaml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go b/crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go index 3e63f09131..1137b28e96 100644 --- a/crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go +++ b/crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go @@ -49,7 +49,7 @@ type NodeNetworkConfigSpec struct { IPsNotInUse []string `json:"ipsNotInUse,omitempty"` // AvailabilityZone contains the Azure availability zone for the virtual machine where network containers are placed. // +kubebuilder:validation:Optional - AvailabilityZone int64 `json:"availabilityZone,omitempty"` + AvailabilityZone uint `json:"availabilityZone,omitempty"` } // Status indicates the NNC reconcile status diff --git a/crd/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml b/crd/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml index d4afb8ce8b..1410a85e2a 100644 --- a/crd/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml +++ b/crd/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml @@ -78,7 +78,6 @@ spec: availabilityZone: description: AvailabilityZone contains the Azure availability zone for the virtual machine where network containers are placed. - format: int64 type: integer ipsNotInUse: items: