Interview Prep/Helm/Values & Precedence

Can a subchart read the parent chart's values?

IntermediateConceptValues & Precedence
Answer

No. A subchart sees only its own values block (from its values.yaml merged with what the parent passes under its key) and global. This isolation is deliberate: a subchart must work standalone. If several subcharts need the same setting, put it under global or pass it explicitly to each. For the reverse direction, use import-values to pull subchart values into the parent.

All Helm questions Roadmap: Helm

More on Values & Precedence