From fe5e3e1252866ce0462f1a6c0f8a8ce93b105b39 Mon Sep 17 00:00:00 2001 From: kuangcheng Date: Fri, 16 Sep 2022 02:51:09 -0700 Subject: [PATCH] Mark pediacluster status.Version as optional field.#333 --- .../github.com/clusterpedia-io/api/cluster/v1alpha2/types.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/staging/src/github.com/clusterpedia-io/api/cluster/v1alpha2/types.go b/staging/src/github.com/clusterpedia-io/api/cluster/v1alpha2/types.go index 2a43a03ba..6574419cf 100644 --- a/staging/src/github.com/clusterpedia-io/api/cluster/v1alpha2/types.go +++ b/staging/src/github.com/clusterpedia-io/api/cluster/v1alpha2/types.go @@ -110,8 +110,7 @@ type ClusterStatus struct { // +optional APIServer string `json:"apiserver,omitempty"` - // +required - // +kubebuilder:validation:Required + // +optional Version string `json:"version,omitempty"` // +optional