Helm
Hard
Commands
How can you override a nested map value via the command line?
Select your answer:
Show answer and explanation
Answer: --set parent.child=value
Explanation
--set uses dots for nesting, so --set image.tag=1.2.3 sets tag under image. To use a literal dot in a key, escape it with a backslash, as in kubernetes\.io/os, and use --set-string to keep a value from being read as a number or boolean.
More hard Helm questions
- Which setting would you use to make a template helper available to child charts (subcharts)?
- 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?