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

Read more about Helm