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>
pull/32569/head
Yuhui Luo 1 month ago committed by GitHub
parent 6e0a63e81c
commit 256c28145e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -176,7 +176,7 @@ func (i *LocalInstaller) Path() string {
pluginName = stripPluginName(pluginName) pluginName = stripPluginName(pluginName)
} }
return helmpath.DataPath("plugins", pluginName) return filepath.Join(i.pluginsDir(), pluginName)
} }
// SupportsVerification returns true if the local installer can verify plugins // SupportsVerification returns true if the local installer can verify plugins

Loading…
Cancel
Save