Skip to content

Commit 9a4fe52

Browse files
committed
Remove paths field from update.setters
The paths field in update.setters is to restrict the update to files in particular paths. But this is not implemented, and although it sounds useful, it's not clear it's necessary. Until there's a known problem to be solved by it, I'm removing it. Signed-off-by: Michael Bridgen <[email protected]>
1 parent a85ebbc commit 9a4fe52

File tree

3 files changed

+1
-19
lines changed

3 files changed

+1
-19
lines changed

api/v1alpha1/imageupdateautomation_types.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@ type UpdateStrategy struct {
7373
// SettersStrategy specifies how to use kyaml setters to update the
7474
// git repository.
7575
type SettersStrategy struct {
76-
// Paths gives all paths that should be subject to updates using
77-
// setters. If missing, the path `.` (the root of the git
78-
// repository) is assumed.
79-
// +optional
80-
Paths []string `json:"paths,omitempty"`
8176
}
8277

8378
// CommitSpec specifies how to commit changes to the git repository

api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 1 addition & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/image.toolkit.fluxcd.io_imageupdateautomations.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,6 @@ spec:
9797
setters:
9898
description: Setters if present means update workloads using setters,
9999
via fields marked in the files themselves.
100-
properties:
101-
paths:
102-
description: Paths gives all paths that should be subject
103-
to updates using setters. If missing, the path `.` (the
104-
root of the git repository) is assumed.
105-
items:
106-
type: string
107-
type: array
108100
type: object
109101
type: object
110102
required:

0 commit comments

Comments
 (0)