Skip to content

Commit

Permalink
feat: update resource patcher
Browse files Browse the repository at this point in the history
  • Loading branch information
liu-hm19 committed Mar 12, 2024
1 parent 3564daa commit 8c68557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/core/v1/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type Resource struct {
DependsOn []string `json:"dependsOn,omitempty" yaml:"dependsOn,omitempty"`

// Patcher contains fields should be patched into the workload corresponding fields
Patcher Patcher `json:"patcher,omitempty" yaml:"patcher,omitempty"`
Patcher *Patcher `json:"patcher,omitempty" yaml:"patcher,omitempty"`

// Extensions specifies arbitrary metadata of this resource
Extensions map[string]interface{} `json:"extensions,omitempty" yaml:"extensions,omitempty"`
Expand Down

0 comments on commit 8c68557

Please sign in to comment.