Skip to content

Commit ffddc41

Browse files
committed
docs: clarify manifest-generate-paths annotation does not require webhooks
Signed-off-by: Aamir017 <skaamir2005@gmail.com>
1 parent 1cec174 commit ffddc41

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/operator-manual/high_availability.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@ If the manifest generation has no side effects then requests are processed in pa
207207
Argo CD aggressively caches generated manifests and uses the repository commit SHA as a cache key. A new commit to the Git repository invalidates the cache for all applications configured in the repository.
208208
This can negatively affect repositories with multiple applications. You can use [webhooks](https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/webhook.md) and the `argocd.argoproj.io/manifest-generate-paths` Application CRD annotation to solve this problem and improve performance.
209209

210+
Note: While the documentation mentions using webhooks with the `argocd.argoproj.io/manifest-generate-paths` annotation, starting with
211+
Argo CD v2.11 this annotation can also be used **without configuring any webhooks**. Webhooks are not a pre-condition for this feature. You can rely on the annotation alone to optimize manifest generation.
212+
210213
The `argocd.argoproj.io/manifest-generate-paths` annotation contains a semicolon-separated list of paths within the Git repository that are used during manifest generation. It will use the paths specified in the annotation to compare the last cached revision to the latest commit. If no modified files match the paths specified in `argocd.argoproj.io/manifest-generate-paths`, then it will not trigger application reconciliation and the existing cache will be considered valid for the new commit.
211214

212215
Installations that use a different repository for each application are **not** subject to this behavior and will likely get no benefit from using these annotations.

0 commit comments

Comments
 (0)