From 41c092adeddd570a5eb0998f9f4d8645017f709d Mon Sep 17 00:00:00 2001 From: Matthew Long <61910737+thatmattlong@users.noreply.github.com> Date: Thu, 17 Feb 2022 16:02:41 -0800 Subject: [PATCH] fix: CRD status should include Node IP --- crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go | 1 + .../manifests/acn.azure.com_nodenetworkconfigs.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go b/crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go index 6c89aff4df..afdcc0662f 100644 --- a/crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go +++ b/crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go @@ -80,6 +80,7 @@ type NetworkContainer struct { DefaultGateway string `json:"defaultGateway,omitempty"` SubnetAddressSpace string `json:"subnetAddressSpace,omitempty"` Version int64 `json:"version,omitempty"` + NodeIP string `json:"nodeIP,omitempty"` } // IPAssignment groups an IP address and Name. Name is a UUID set by the the IP address assigner. diff --git a/crd/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml b/crd/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml index a83ac1b8db..716dd16287 100644 --- a/crd/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml +++ b/crd/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml @@ -93,6 +93,8 @@ spec: type: string type: object type: array + nodeIP: + type: string primaryIP: type: string subnetAddressSpace: