k8wiz
Helm
Hard
Concepts

Which values from the parent chart can a subchart named 'redis' read?

Select your answer:

Show answer and explanation

Answer: Values under the parent's 'redis:' key, plus 'global:'

Explanation

Helm passes a subchart the section of the parent's values that matches the subchart's name, merged over the subchart's own defaults, and the subchart reads it as plain .Values. Values under 'global' are copied to every chart, so .Values.global works the same everywhere. A subchart can't see the parent's other values, which keeps charts reusable.