From b5e5ca72f2322177b6b203d0369843d227c926ce Mon Sep 17 00:00:00 2001 From: Alper Rifat Ulucinar Date: Thu, 1 Feb 2024 17:45:10 +0300 Subject: [PATCH] Set CRD storage version to the latest generated version Signed-off-by: Alper Rifat Ulucinar --- pkg/pipeline/templates/crd_types.go.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/pipeline/templates/crd_types.go.tmpl b/pkg/pipeline/templates/crd_types.go.tmpl index 4b7a5186..f5a7084b 100644 --- a/pkg/pipeline/templates/crd_types.go.tmpl +++ b/pkg/pipeline/templates/crd_types.go.tmpl @@ -42,6 +42,7 @@ type {{ .CRD.Kind }}Status struct { // +kubebuilder:object:root=true // +kubebuilder:subresource:status +// +kubebuilder:storageversion // {{ .CRD.Kind }} is the Schema for the {{ .CRD.Kind }}s API. {{ .CRD.Description }} // +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status"