Interview Prep/Helm/Dependencies, Subcharts & Library Charts

Can you use a dependency from a repository you have not added with `helm repo add`?

IntermediateConceptDependencies, Subcharts & Library Charts
Answer

For OCI and file:// dependencies, yes. For HTTP repositories, Helm requires the repo to be configured locally:

Error: no repository definition for https://charts.example.com. Please add the missing repos via 'helm repo add'

In CI, add every HTTP repo before helm dependency build, or switch dependencies to OCI references, which need only helm registry login for private registries.

All Helm questions Roadmap: Helm

More on Dependencies, Subcharts & Library Charts