Helm
Hard
Charts
Which setting would you use to make a template helper available to child charts (subcharts)?
Select your answer:
Show answer and explanation
Answer: None, because named templates are shared across the chart tree
Explanation
Template names are global in Helm, so a helper defined in a parent or a subchart can be included from any chart in the tree. That's why helpers are prefixed with the chart name, as in mychart.labels, to avoid clashes. Values are different: a subchart only sees its own section and global.
More hard Helm questions
- Which Helm feature helps ensure chart values conform to a schema (like types and required fields)?
- Which Helm feature can help modify rendered manifests before they are applied to the cluster?
- Which command explains why a resource failed during a helm install by showing events/logs (combining kubectl)?
- Which field in a hook's annotations sets a timeout for hook execution?
- How do Helm 3 and Helm 4 apply changes to the cluster during an install or upgrade?
- Where does Helm 3 store release information by default?