Helm
Hard
Repositories
A chart has version 1.4.0+build.7 in Chart.yaml. Which tag does helm push store it under in an OCI registry?
Select your answer:
Show answer and explanation
Answer: 1.4.0_build.7, with + replaced by _
Explanation
OCI tags can't contain a plus sign, so Helm replaces + with _ when it pushes and turns _ back into + when it reads tags during a pull or install. You keep using --version 1.4.0+build.7 on the Helm side. Helm doesn't drop the build metadata or turn it into a pre-release, which would change how the version sorts.
More hard Helm questions
- 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?
- 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?