From d17504200da86a7594f6aacc6e72ff83dbc1652b Mon Sep 17 00:00:00 2001 From: Mario Valderrama Date: Fri, 5 Apr 2024 14:33:17 +0200 Subject: [PATCH] Fix wording --- api/v1alpha1/proxmoxcluster_types.go | 2 +- .../bases/infrastructure.cluster.x-k8s.io_proxmoxclusters.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/v1alpha1/proxmoxcluster_types.go b/api/v1alpha1/proxmoxcluster_types.go index b93c03f3..8196bb2d 100644 --- a/api/v1alpha1/proxmoxcluster_types.go +++ b/api/v1alpha1/proxmoxcluster_types.go @@ -63,7 +63,7 @@ type ProxmoxClusterSpec struct { // +kubebuilder:validation:XValidation:rule="self.addresses.size() > 0",message="IPv6Config addresses must be provided" IPv6Config *IPConfigSpec `json:"ipv6Config,omitempty"` - // DNSServers contains information about nameservers used by machines' network config. + // DNSServers contains information about nameservers used by the machines. // +kubebuilder:validation:MinItems=1 DNSServers []string `json:"dnsServers"` } diff --git a/config/crd/bases/infrastructure.cluster.x-k8s.io_proxmoxclusters.yaml b/config/crd/bases/infrastructure.cluster.x-k8s.io_proxmoxclusters.yaml index c5b04f26..17a41e81 100644 --- a/config/crd/bases/infrastructure.cluster.x-k8s.io_proxmoxclusters.yaml +++ b/config/crd/bases/infrastructure.cluster.x-k8s.io_proxmoxclusters.yaml @@ -74,7 +74,7 @@ spec: type: object dnsServers: description: DNSServers contains information about nameservers used - by machines' network config. + by the machines. items: type: string minItems: 1