From c8e51e38095909eeaeafc7dc5b6daecc7c0858b4 Mon Sep 17 00:00:00 2001 From: Stefan Bueringer Date: Thu, 26 Aug 2021 20:28:25 +0200 Subject: [PATCH] Make topology controlPlane optional MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Büringer buringerst@vmware.com --- api/v1alpha4/cluster_types.go | 1 + config/crd/bases/cluster.x-k8s.io_clusters.yaml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1alpha4/cluster_types.go b/api/v1alpha4/cluster_types.go index 608988671abe..94c8c7a3c5d3 100644 --- a/api/v1alpha4/cluster_types.go +++ b/api/v1alpha4/cluster_types.go @@ -83,6 +83,7 @@ type Topology struct { RolloutAfter *metav1.Time `json:"rolloutAfter,omitempty"` // ControlPlane describes the cluster control plane. + // +optional ControlPlane ControlPlaneTopology `json:"controlPlane"` // Workers encapsulates the different constructs that form the worker nodes diff --git a/config/crd/bases/cluster.x-k8s.io_clusters.yaml b/config/crd/bases/cluster.x-k8s.io_clusters.yaml index 0eecd05ff296..8c75c89f41ce 100644 --- a/config/crd/bases/cluster.x-k8s.io_clusters.yaml +++ b/config/crd/bases/cluster.x-k8s.io_clusters.yaml @@ -595,7 +595,6 @@ spec: type: object required: - class - - controlPlane - version type: object type: object