vendir allows to declaratively state what should be in a directory. It was designed to easily manage libraries for ytt; however, it is a generic tool and does not care how files within managed directories are used.
Supported sources for fetching:
- hg (Mercurial)
- image (image from OCI registry)
- imgpkgBundle (bundle from OCI registry)
Examples could be found in carvel-vendir’s
(Help improve our docs: edit this page on GitHub)