fix(plugin): use HELM_PLUGINS dir for HTTP plugin installs

Make HTTPInstaller.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 d38891e719
commit 6e0a63e81c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -152,7 +152,7 @@ func (i HTTPInstaller) Path() string {
if i.Source == "" {
return ""
}
return helmpath.DataPath("plugins", i.PluginName)
return filepath.Join(i.pluginsDir(), i.PluginName)
}
// SupportsVerification returns true if the HTTP installer can verify plugins

Loading…
Cancel
Save