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
..
2026-02-26 18:55:55 +01:00
2025-11-22 18:52:40 +01:00
2026-08-12 20:56:32 -04:00
2025-10-10 11:49:08 -04:00
2026-03-23 07:07:27 +01:00
2026-03-02 07:26:50 -08:00
2026-02-06 18:29:59 +00:00
2025-09-02 10:19:48 -04:00
2026-06-11 22:59:03 -04:00
2025-02-24 15:11:54 +00:00
2026-02-26 18:18:57 +01:00
2026-06-11 22:59:03 -04:00
2025-11-04 11:33:42 +08:00
2025-02-24 15:11:54 +00:00
2025-04-21 12:13:10 -04:00
2025-02-24 15:11:54 +00:00
2025-02-24 15:11:54 +00:00
2025-10-10 11:49:08 -04: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-10-10 11:49:08 -04:00
2025-02-27 13:55:49 +00:00
2025-10-10 11:49:08 -04:00
2025-07-09 11:30:22 +04:00
2025-08-18 10:05:07 -07:00
2025-02-27 13:55:49 +00:00
2025-10-10 11:49:08 -04: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
2025-09-21 08:03:02 -07:00
2025-09-21 08:03:02 -07:00
2026-02-23 16:46:35 -08:00
2026-02-26 19:06:38 +01:00
2026-02-26 18:55:55 +01:00
2026-06-11 22:59:03 -04:00
2026-04-25 17:06:10 +01:00
2025-09-15 14:15:01 -06:00
2025-10-13 16:16:50 -06:00
2026-02-26 19:06:38 +01:00
2026-02-09 07:54:59 +01:00
2025-07-02 16:20:45 -07:00
2026-06-11 22:59:03 -04:00
2026-04-08 21:31:08 -07:00
2025-09-02 09:53:22 -07:00
2025-08-31 22:24:31 -07:00
2026-03-23 07:07:27 +01:00
2026-04-08 21:22:47 -07:00
2025-08-25 23:04:01 -04:00
2026-03-12 17:56:01 -07:00
2026-03-12 17:56:01 -07:00
2025-08-30 13:25:28 -04:00
2026-02-26 18:55:56 +01: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
2026-02-26 18:55:55 +01:00
2026-06-11 22:59:03 -04:00
2025-02-24 15:11:54 +00:00
2026-06-11 22:59:03 -04:00
2025-02-24 15:11:54 +00:00
2025-05-23 08:06:12 -04: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-10-10 11:49:08 -04:00
2025-11-26 17:24:33 +01:00
2026-03-23 07:07:27 +01:00
2025-11-04 11:33:42 +08:00
2025-09-02 10:19:48 -04:00
2025-09-02 10:19:48 -04:00
2025-10-30 18:00:08 +01:00
2025-12-21 09:13:24 -07:00
2026-02-26 18:55:55 +01:00
2025-09-02 10:19:48 -04:00
2025-02-24 15:11:54 +00:00
2025-09-02 10:19:48 -04:00
2025-09-02 10:19:48 -04:00
2025-04-21 12:13:10 -04:00
2025-10-10 11:49:08 -04:00
2026-03-23 07:07:27 +01:00
2025-11-21 17:45:22 -05:00
2026-06-11 22:59:03 -04:00
2026-03-23 07:07:27 +01:00
2026-02-26 18:55:55 +01:00
2025-02-24 15:11:54 +00:00
2026-02-26 18:55:55 +01: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
2026-06-11 22:59:03 -04:00
2025-10-10 11:49:08 -04:00
2026-02-28 11:11:02 +01:00
2026-08-12 20:56:32 -04:00
2026-08-12 20:56:48 -04:00
2025-11-07 23:09:48 +01:00
2026-01-19 16:42:04 +00:00
2026-08-12 21:46:59 -04:00
2026-08-12 21:46:59 -04:00
2025-02-24 15:11:54 +00:00
2025-09-17 11:14:34 -06:00
2025-09-16 20:00:24 -06:00
2025-09-16 20:00:24 -06:00