From 256c28145ed00b76417f98abcf76763388589dc4 Mon Sep 17 00:00:00 2001 From: Yuhui Luo <92632263+lyh7c00@users.noreply.github.com> Date: Tue, 25 Aug 2026 21:53:08 +0800 Subject: [PATCH] fix(plugin): use HELM_PLUGINS dir for local plugin installs Make LocalInstaller.Path() use the first HELM_PLUGINS directory, matching base.Path() and OCI. Signed-off-by: Yuhui Luo <92632263+lyh7c00@users.noreply.github.com> --- internal/plugin/installer/local_installer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/plugin/installer/local_installer.go b/internal/plugin/installer/local_installer.go index 59918401b..1505d0f57 100644 --- a/internal/plugin/installer/local_installer.go +++ b/internal/plugin/installer/local_installer.go @@ -176,7 +176,7 @@ func (i *LocalInstaller) Path() string { pluginName = stripPluginName(pluginName) } - return helmpath.DataPath("plugins", pluginName) + return filepath.Join(i.pluginsDir(), pluginName) } // SupportsVerification returns true if the local installer can verify plugins