helm-push icon indicating copy to clipboard operation
helm-push copied to clipboard

Plugin cannot install 0.10.2: Unable to update repository

Open gildas opened this issue 3 years ago • 2 comments

On my Linux desktop, I just ran the usual install command but got the error Unable to update repository, reran it in debug:

helm --debug plugin install https://github.com/chartmuseum/helm-push                
[debug] vcs_installer.go:162: updating https://github.com/chartmuseum/helm-push
Error: Unable to update repository: exit status 1
helm.go:84: [debug] Unable to update repository: exit status 1

as you can see there is no .git at the end of the command.

Out of curiosity, I tried an helm update on a Mac where I still had an old version of the plugin 0.7.1, I get a similar error:

helm --debug plugin update push
plugin_update.go:65: [debug] loading installed plugins from /Users/gildas/.local/share/helm/plugins
[debug] vcs_installer.go:97: updating https://github.com/chartmuseum/helm-push
Error: Failed to update plugin push, got error (Unable to update repository: exit status 1)
helm.go:84: [debug] Failed to update plugin push, got error (Unable to update repository: exit status 1)
main.(*pluginUpdateOptions).run
	helm.sh/helm/v3/cmd/helm/plugin_update.go:84
main.newPluginUpdateCmd.func3
	helm.sh/helm/v3/cmd/helm/plugin_update.go:49
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/[email protected]/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/[email protected]/command.go:974
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/[email protected]/command.go:902
main.main
	helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
	runtime/proc.go:255
runtime.goexit
	runtime/asm_amd64.s:1581

gildas avatar Apr 29 '22 03:04 gildas

Found a way to install: clear the helm cache before:

rm -rf $(helm env HELM_CACHE_HOME)

Then, the plugin install succeeds.

Thanks to: jkroepke/helm-secrets#98

gildas avatar Apr 29 '22 07:04 gildas

Found a way to install: clear the helm cache before:

rm -rf $(helm env HELM_CACHE_HOME)

Then, the plugin install succeeds.

Thanks to: jkroepke/helm-secrets#98

Thank you, it works for me 🌸

biello avatar Aug 14 '23 08:08 biello