Merge pull request #31254 from benoittgt/fix-31253-closest-version

Warn when we fallback to a different version on `helm pull`
gjenkins/fix_helm4_release
George Jenkins 3 days ago committed by GitHub
commit 23c5662019
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -215,6 +215,7 @@ func (i IndexFile) Get(name, version string) (*ChartVersion, error) {
} }
if constraint.Check(test) { if constraint.Check(test) {
slog.Warn("unable to find exact version; falling back to closest available version", "chart", name, "requested", version, "selected", ver.Version)
return ver, nil return ver, nil
} }
} }

Loading…
Cancel
Save