Helm
Hard
Commands
An OCI chart repository has the tags 1.3.2, 1.4.0 and 1.5.0-rc.1. Which version does helm install oci://ghcr.io/acme/charts/web pick when you pass no --version?
Select your answer:
Show answer and explanation
Answer: 1.4.0, the highest stable version
Explanation
Without --version, Helm lists the repository's tags, sorts them by semantic version from highest to lowest, and takes the first that matches the wildcard constraint *, which excludes pre-releases. So 1.5.0-rc.1 is skipped and 1.4.0 is installed. Passing --devel switches the constraint to >0.0.0-0, which would pick 1.5.0-rc.1.
More hard Helm questions
- You run helm push web-1.4.0.tgz oci://ghcr.io/acme/charts/web, including the chart name in the target. Where does the chart end up?
- 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?