Interview Prep/Helm/Dependencies, Repositories & OCI

``Error: An error occurred while checking for chart dependencies. You may need to run `helm dependency build` to fetch missing dependencies: found in Chart.yaml, but missing in charts/ directory: shop-postgres``

BeginnerTroubleshootingDependencies, Repositories & OCI
Answer

Likely causes → charts/ is empty because .tgz files are not committed (correct) and the pipeline did not fetch dependencies.

Diagnose → helm dependency list ./shop shows missing.

Fix → helm dependency build ./shop before template/install/package.

Prevent → Add the build step to CI and to the Makefile; helm package --dependency-update for packaging.

All Helm questions Roadmap: Helm

More on Dependencies, Repositories & OCI