Skip to content

Commit

Permalink
Merge pull request #2204 from loft-sh/thomaskosiewski/eng-4807-1-add-…
Browse files Browse the repository at this point in the history
…patches-for-fromhost-for-customresource
  • Loading branch information
Thomas Kosiewski authored Oct 7, 2024
2 parents 510f6ca + 8194b26 commit 13590eb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions chart/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2983,6 +2983,13 @@
"enabled": {
"type": "boolean",
"description": "Enabled defines if this option should be enabled."
},
"patches": {
"items": {
"$ref": "#/$defs/TranslatePatch"
},
"type": "array",
"description": "Patches patch the resource according to the provided specification."
}
},
"additionalProperties": false,
Expand Down
3 changes: 3 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,9 @@ type TranslatePatchExpression struct {
type SyncFromHostCustomResource struct {
// Enabled defines if this option should be enabled.
Enabled bool `json:"enabled,omitempty"`

// Patches patch the resource according to the provided specification.
Patches []TranslatePatch `json:"patches,omitempty"`
}

type EnableAutoSwitch struct {
Expand Down

0 comments on commit 13590eb

Please sign in to comment.