From a3f85b41d24a87169bba4d1ab0320182b72c450a Mon Sep 17 00:00:00 2001 From: Ryan Cook Date: Tue, 20 Feb 2024 11:14:45 -0500 Subject: [PATCH] omits were incorrect when moved to common Signed-off-by: Ryan Cook --- api/v1alpha1/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1alpha1/common.go b/api/v1alpha1/common.go index 750fb736c..c27f0c329 100644 --- a/api/v1alpha1/common.go +++ b/api/v1alpha1/common.go @@ -31,7 +31,7 @@ type Pvc struct { Size string `json:"size,omitempty"` // Retain policy for the PVC //+kubebuilder:default:=true - Retain bool `json:"retain"` + Retain bool `json:"retain,omitempty"` // Name of the PVC Name string `json:"name,omitempty"` // Storage class for the PVC