Interview Prep/Helm/Dependencies, Subcharts & Library Charts

What is the effect of a subchart's `values.schema.json`?

AdvancedConceptDependencies, Subcharts & Library Charts
Answer

Helm validates each subchart's values against its own schema, using the values the parent passed down. A parent setting postgres.persistence.size: 5 (number instead of string) can fail the whole install with an error naming the subchart: values don't meet the specifications of the schema(s) in the following chart(s): shop-postgres: .... Read the subchart's schema before overriding, and run helm lint --with-subcharts.

All Helm questions Roadmap: Helm

More on Dependencies, Subcharts & Library Charts