Skip to content

Is argocd.argoproj.io/manifest-generate-paths recursive? #18999

Discussion options

You must be logged in to vote

The list of "affected files" comes either from the SCM webhook payload or from git diff --name-only. In general, these are file paths relative to the repo root.

The glob patterns listed in the annotation are evaluated by filepath.Match.

So if any pattern matches any affected file, the app will be refreshed.

So if you want to match everything in a directory recursively, you can use a value like this: /some-dir/*.

(Note this is based on a quick reading of the code. Probably needs a deep dive and some docs updates/examples.)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@andrii-korotkov-verkada
Comment options

@milan-veljkovic
Comment options

@andrii-korotkov-verkada
Comment options

@milan-veljkovic
Comment options

Answer selected by andrii-korotkov-verkada
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants