What happened?
When running commands like helm show chart or helm template, a warning is emitted that suggests that no exact version can be found:
helm show chart brigade/brigade
level=WARN msg="unable to find exact version; falling back to closest available version" chart=brigade requested="" selected=1.10.0
This warning does not show when using OCI references!
This is maybe a regression introduced with #31253 / 9e2d468
What did you expect to happen?
In case no version was specified (i.e. the --version parameter was set), no warning should be emitted and the latest version is used as described by the --version flag description:
--version string specify a version constraint for the chart version to use. This constraint can be a specific tag (e.g. 1.1.1) or it may reference a valid range (e.g. ^2.0.0). If this is not specified, the latest version is used
How can we reproduce it (as minimally and precisely as possible)?
helm repo add brigade https://brigadecore.github.io/charts
helm repo update
helm show chart brigade/brigade
Helm version
Details
$ helm version
# version.BuildInfo{Version:"v4.0.0", GitCommit:"99cd1964357c793351be481d55abbe21c6b2f4ec", GitTreeState:"clean", GoVersion:"go1.25.4", KubeClientVersion:"v1.34"}
Kubernetes version
Details
$ kubectl version
# client Version: v1.32.7
# Kustomize Version: v5.5.0
What happened?
When running commands like
helm show chartorhelm template, a warning is emitted that suggests that no exact version can be found:This warning does not show when using OCI references!
This is maybe a regression introduced with #31253 / 9e2d468
What did you expect to happen?
In case no version was specified (i.e. the
--versionparameter was set), no warning should be emitted and the latest version is used as described by the--versionflag description:How can we reproduce it (as minimally and precisely as possible)?
helm repo add brigade https://brigadecore.github.io/chartshelm repo updatehelm show chart brigade/brigadeHelm version
Details
Kubernetes version
Details