From 8e6d6210096f2a05ffc5e3e86fd89e86a1b03d34 Mon Sep 17 00:00:00 2001 From: German Lashevich Date: Thu, 21 Dec 2023 20:39:50 +0100 Subject: [PATCH] Document `lazy` option in the vendir spec The option was proposed in [1] and implemented in [2]. [1]: https://github.com/carvel-dev/carvel/blob/develop/proposals/vendir/001-lazy-synching-on-stable-config/README.md [2]: https://github.com/carvel-dev/vendir/pull/279 Signed-off-by: German Lashevich --- site/content/vendir/docs/develop/vendir-spec.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/site/content/vendir/docs/develop/vendir-spec.md b/site/content/vendir/docs/develop/vendir-spec.md index a78b4a985..1daa8b9fe 100644 --- a/site/content/vendir/docs/develop/vendir-spec.md +++ b/site/content/vendir/docs/develop/vendir-spec.md @@ -23,6 +23,11 @@ directories: - # path lives relative to directory path # (required) path: github.com/cloudfoundry/cf-k8s-networking + # skip fetching if the config for this path has not changed since the last sync + # optional, `false` by default, available in v0.35.1+ + # use `vendir sync --lazy=false` to forcefully sync when needed + lazy: true + # uses git to clone Git repository (optional) git: # http or ssh urls are supported (required)