Files
helm/pkg/cmd
Gates Wang f76a5f46a9 fix: pass registry client to downloader.Manager in upgrade
`helm upgrade --dependency-update` built its downloader.Manager without a
RegistryClient, unlike the identical literals in install, dependency update,
and dependency build. Resolving an OCI chart dependency whose version is a
range then dereferenced a nil *registry.Client in registry.(*Client).Tags,
panicking the process. Pass the registry client already constructed for the
command, matching install.

Add a regression test that runs `upgrade --dependency-update` against a chart
with an unresolved OCI dependency and asserts the command returns an error
instead of panicking.

Signed-off-by: Gates Wang <9372086+SetagGnaw@users.noreply.github.com>
(cherry picked from commit 0604d8fb1e)
2026-08-12 21:46:59 -04:00
..
2025-02-24 15:11:54 +00:00
2025-11-04 11:33:42 +08:00
2025-02-24 15:11:54 +00:00
2025-02-24 15:11:54 +00:00
2025-02-24 15:11:54 +00:00
2026-02-26 18:55:55 +01:00
2025-02-27 13:55:49 +00:00
2026-02-23 16:46:35 -08:00
2025-02-27 13:55:49 +00:00
2025-02-27 13:55:49 +00:00
2025-02-27 13:55:49 +00:00
2025-02-24 15:11:54 +00:00
2025-02-27 13:55:49 +00:00
2026-02-23 16:46:35 -08:00
2025-02-24 15:11:54 +00:00
2026-02-23 16:46:35 -08:00
2026-02-09 07:54:59 +01:00
2025-09-02 09:53:22 -07:00
2026-04-08 21:22:47 -07:00
2025-08-25 23:04:01 -04:00
2025-09-01 10:49:01 -07:00
2026-02-23 16:46:35 -08:00
2025-02-24 15:11:54 +00:00
2025-02-24 15:11:54 +00:00
2025-02-24 15:11:54 +00:00
2025-02-24 15:11:54 +00:00
2025-02-24 15:11:54 +00:00
2025-02-24 15:11:54 +00:00
2025-11-26 17:24:33 +01:00
2025-11-04 11:33:42 +08:00
2025-02-24 15:11:54 +00:00
2025-11-21 17:45:22 -05:00
2025-02-24 15:11:54 +00:00
2025-02-24 15:11:54 +00:00
2025-02-24 15:11:54 +00:00
2026-02-28 11:11:02 +01:00
2025-02-24 15:11:54 +00:00
2025-09-17 11:14:34 -06:00