Helm
Hard
Templates
What does the 'lookup' function in templates do?
Select your answer:
Show answer and explanation
Answer: Query the Kubernetes API for live resources
Explanation
The lookup function queries the Kubernetes API for existing resources and can be used at template render time to make decisions.
More hard Helm questions
- Which function trims trailing newlines from a string in templates?
- How can you override a nested map value via the command line?
- 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)?