Interview Prep/Helm/Dependencies, Subcharts & Library Charts

Do subchart hooks and tests run as part of the parent release?

IntermediateConceptDependencies, Subcharts & Library Charts
Answer

Yes. Subcharts are rendered into the same release, so their hooks run alongside the parent's, ordered together by weight and kind. helm test also runs subchart test Pods unless you filter with --filter name=.... This surprises people when a third-party subchart's test fails the parent's CI. Disable it via its values if possible, or filter it out.

All Helm questions Roadmap: Helm

More on Dependencies, Subcharts & Library Charts