Skip to content

Commit

Permalink
Document lazy option in the vendir spec (#705)
Browse files Browse the repository at this point in the history
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]: carvel-dev/vendir#279

Signed-off-by: German Lashevich <[email protected]>
  • Loading branch information
Zebradil authored Dec 26, 2023
1 parent 0f6067d commit 1edde21
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions site/content/vendir/docs/develop/vendir-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 since v0.36.0
# 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)
Expand Down

0 comments on commit 1edde21

Please sign in to comment.