vendir is a command-line dependency management utility developed as part of the Carvel software toolkit. Written in Go, it declaratively synchronizes local directories with content retrieved from external sources. Supported sources include Git repositories, GitHub releases, Helm charts, OCI images, HTTP endpoints, and local directories. Users define desired directory structures and source configurations through YAML files. Configurable inclusion and exclusion patterns determine which files are incorporated into the managed directories. Lockfiles record resolved dependency versions to support reproducible synchronization across environments. The utility facilitates configuration management, Kubernetes application packaging, and automated dependency retrieval without requiring a persistent background service.
Features
- Declarative external dependency synchronization through YAML configuration files
- Content retrieval from Git repositories, GitHub releases, Helm charts, and OCI images
- Support for HTTP endpoints, local directories, and authenticated content sources
- Configurable inclusion and exclusion patterns for selective dependency retrieval
- Dependency lockfiles for reproducible synchronization and version tracking
- Standalone command-line execution for automated configuration and packaging workflows