From d4c59a0372db6280369115a16e4d7f8f72227b35 Mon Sep 17 00:00:00 2001 From: mgianluc Date: Wed, 31 Jul 2024 09:55:53 +0200 Subject: [PATCH] Fix Patch Path is required field, so remove omitempty --- api/v1beta1/common_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1beta1/common_types.go b/api/v1beta1/common_types.go index d9825a9..13661f5 100644 --- a/api/v1beta1/common_types.go +++ b/api/v1beta1/common_types.go @@ -225,7 +225,7 @@ type Patch struct { // When expressed as templates, the values are filled in using information from // resources within the management cluster before deployment (Cluster and TemplateResourceRefs) // +required - Patch string `json:"patch,omitempty"` + Patch string `json:"patch"` // Target points to the resources that the patch document should be applied to. // +optional