k8wiz
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.

Read more about Helm