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.
More hard Helm questions
- values.yaml contains host: "{{ .Release.Name }}.example.com". What do you write in a template so the output contains the release name instead of the literal braces?
- What is the purpose of the 'helm verify' command?
- What is the purpose of the 'helm get hooks' command?
- Which Helm capability provides cluster information like API versions available?
- Which annotation is commonly used to mark a resource as a Helm hook?
- Which manifest hook weight determines order when multiple hooks of the same type run?