Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugins dir is not created automatically #2488

Closed
sgoings opened this issue May 23, 2017 · 3 comments
Closed

plugins dir is not created automatically #2488

sgoings opened this issue May 23, 2017 · 3 comments
Milestone

Comments

@sgoings
Copy link
Contributor

sgoings commented May 23, 2017

I recently installed helm 2.4.2 and right away tried to install a plugin:

$ helm plugin list
NAME	VERSION	DESCRIPTION

$ helm plugin install https://github.com/technosophos/helm-github
Error: symlink /Users/sgoings/.helm/cache/plugins/https-github.com-technosophos-helm-github /Users/sgoings/.helm/plugins/helm-github: no such file or directory

$ mkdir -p ~/.helm/plugins

$ helm plugin install https://github.com/technosophos/helm-github
Installed plugin: github

$ helm plugin list
NAME  	VERSION	DESCRIPTION
github	0.1.0  	This plugin provides GitHub services to Helm.

Could the error message on missing directory be changed to something like:

"Ensure you run helm init [--client-only] before you attempt to install plugins."

or even better: just create this directory automatically?

@adamreese adamreese added the bug label May 24, 2017
@adamreese adamreese added this to the 2.4.3 - Fixes milestone May 24, 2017
sushilkm pushed a commit to sushilkm/helm that referenced this issue May 25, 2017
sushilkm pushed a commit to sushilkm/helm that referenced this issue May 25, 2017
sushilkm pushed a commit to sushilkm/helm that referenced this issue May 25, 2017
flynnduism pushed a commit to flynnduism/helm that referenced this issue May 28, 2017
@elwaxoro
Copy link

From client 2.9.1 (osx) I encountered a similar error that brought me here. It said there was no $HELM_HOME defined. I manually ran mkdir -p ~/.helm/plugins, after which I was able to install plugins.

@bacongobbler
Copy link
Member

@elwaxoro you can also run helm init --client-only to create the plugin directories. :)

@blop
Copy link

blop commented Jan 8, 2020

issue still exists with v2.16.1 on macos 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants