Helm Dependency
Manage the dependencies of a chart.
Helm charts store their dependencies in ‘charts/‘. For chart developers, it is often easier to manage dependencies in ‘Chart.yaml’ which declares all dependencies.
The dependency commands operate on that file, making it easy to synchronize between the desired dependencies and the actual dependencies stored in the ‘charts/‘ directory.
The ‘name’ should be the name of a chart, where that name must match the name in that chart’s ‘Chart.yaml’ file.
The ‘version’ field should contain a semantic version or version range.
The ‘repository’ URL should point to a Chart Repository. Helm expects that by appending ‘/index.yaml’ to the URL, it should be able to retrieve the chart repository’s index. Note: ‘repository’ can be an alias. The alias must start with ‘alias:’ or ‘@’.
If the dependency chart is retrieved locally, it is not required to have the repository added to helm by “helm add repo”. Version matching is also supported for this case.
- helm - The Helm package manager for Kubernetes.
- - rebuild the charts/ directory based on the Chart.lock file
- helm dependency update - update charts/ based on the contents of Chart.yaml