Skip to content

Commit

Permalink
Fix Patch
Browse files Browse the repository at this point in the history
Path is required field, so remove omitempty
  • Loading branch information
mgianluc committed Jul 31, 2024
1 parent 3f91322 commit d4c59a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1beta1/common_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4c59a0

Please sign in to comment.