-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow specifying the path for manifests updates #126
Conversation
- Add optional `path` field to `spec.update`, defaults to the git repo root - Restrict updates to the specified `spec.update.path` Signed-off-by: Stefan Prodan <[email protected]>
TODOs after this gets merged and release:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test please! All the bits are there, you could put it alongside the commit message test case. (They will need a bit of refactoring at some point, but don't worry about it now)
@squaremo I can't run the tests locally, any idea what's going on?
|
34f7e5f
to
a9e2c9f
Compare
Signed-off-by: Stefan Prodan <[email protected]>
a9e2c9f
to
7c5d7b8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks good, thanks Stefan 🥭
I know it's a bit late, but would it be possible to add globbing to the path object? This would help handle the use case where resources are put into folders as follows:
Then, setting:
in the |
This will be very useful. Would be great if you implement this feature. |
Changes:
path
field tospec.update
, defaults to the git repo rootspec.update.path
Fix: #100 fluxcd/flux2#1099