From 50ad18e16a183575ca82d97e86bc1311efa426ba Mon Sep 17 00:00:00 2001 From: Nutrymaco Date: Wed, 13 Nov 2024 13:01:12 +0300 Subject: [PATCH] fix --- apis/v1beta1/vspherefailuredomain_types.go | 2 +- .../infrastructure.cluster.x-k8s.io_vspherefailuredomains.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/v1beta1/vspherefailuredomain_types.go b/apis/v1beta1/vspherefailuredomain_types.go index 6243960f8..bea116c7d 100644 --- a/apis/v1beta1/vspherefailuredomain_types.go +++ b/apis/v1beta1/vspherefailuredomain_types.go @@ -85,7 +85,7 @@ type Topology struct { // NetworkConfigurations is a list of network configurations within this failure domain. // +optional // +listType=map - // +listMapKey=name + // +listMapKey=networkName NetworkConfigurations []NetworkConfiguration `json:"networkConfigurations,omitempty"` // Datastore is the name or inventory path of the datastore in which the diff --git a/config/default/crd/bases/infrastructure.cluster.x-k8s.io_vspherefailuredomains.yaml b/config/default/crd/bases/infrastructure.cluster.x-k8s.io_vspherefailuredomains.yaml index df9c50c1d..3b81cd15e 100644 --- a/config/default/crd/bases/infrastructure.cluster.x-k8s.io_vspherefailuredomains.yaml +++ b/config/default/crd/bases/infrastructure.cluster.x-k8s.io_vspherefailuredomains.yaml @@ -547,7 +547,7 @@ spec: type: object type: array x-kubernetes-list-map-keys: - - name + - networkName x-kubernetes-list-type: map networks: description: Networks is the list of networks within this failure