From ee9768f6d826fdc413292a9f1100493eb2a2d089 Mon Sep 17 00:00:00 2001 From: Daniel Lipovetsky Date: Wed, 20 Sep 2023 10:10:14 -0700 Subject: [PATCH] fix: Sync the VCDMachine v1beta1 CRD with the go type A recent PR[1] updated the godoc comment that describes the VCDMachineSpec MachineAddress field, but the change was not reflected in the v1beta1 CRD. This updates the comment in the CRD base, as well as infrastructure-components.yaml [1]: https://github.com/vmware/cluster-api-provider-cloud-director/pull/445 --- .../infrastructure.cluster.x-k8s.io_vcdmachines.yaml | 8 ++++---- templates/infrastructure-components.yaml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config/crd/bases/infrastructure.cluster.x-k8s.io_vcdmachines.yaml b/config/crd/bases/infrastructure.cluster.x-k8s.io_vcdmachines.yaml index 1782ee911..3df86cda3 100644 --- a/config/crd/bases/infrastructure.cluster.x-k8s.io_vcdmachines.yaml +++ b/config/crd/bases/infrastructure.cluster.x-k8s.io_vcdmachines.yaml @@ -208,8 +208,8 @@ spec: description: The machine address. type: string type: - description: Machine address type, one of Hostname, ExternalIP - or InternalIP. + description: Machine address type, one of Hostname, ExternalIP, + InternalIP, ExternalDNS or InternalDNS. type: string required: - address @@ -388,8 +388,8 @@ spec: description: The machine address. type: string type: - description: Machine address type, one of Hostname, ExternalIP - or InternalIP. + description: Machine address type, one of Hostname, ExternalIP, + InternalIP, ExternalDNS or InternalDNS. type: string required: - address diff --git a/templates/infrastructure-components.yaml b/templates/infrastructure-components.yaml index 1edb0cde3..de91c2642 100644 --- a/templates/infrastructure-components.yaml +++ b/templates/infrastructure-components.yaml @@ -986,8 +986,8 @@ spec: description: The machine address. type: string type: - description: Machine address type, one of Hostname, ExternalIP - or InternalIP. + description: Machine address type, one of Hostname, ExternalIP, + InternalIP, ExternalDNS or InternalDNS. type: string required: - address @@ -1166,8 +1166,8 @@ spec: description: The machine address. type: string type: - description: Machine address type, one of Hostname, ExternalIP - or InternalIP. + description: Machine address type, one of Hostname, ExternalIP, + InternalIP, ExternalDNS or InternalDNS. type: string required: - address