Helm
Hard
Templates
Which Helm capability provides cluster information like API versions available?
Select your answer:
Show answer and explanation
Answer: .Capabilities
Explanation
.Capabilities describes the cluster Helm renders for: .Capabilities.KubeVersion, the Helm version, and .Capabilities.APIVersions with a Has method. Charts use it to pick an API version, for example only creating a resource when its API exists.
More hard Helm questions
- 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?
- Which command can render templates but also show Kubernetes object diffs against the cluster when combined with other tools?
- What does the 'lookup' function in templates do?
- Which function trims trailing newlines from a string in templates?
- How can you override a nested map value via the command line?