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

Unable to upgrade helm plugin #4240

Closed
maver1ck opened this issue Jun 19, 2018 · 1 comment
Closed

Unable to upgrade helm plugin #4240

maver1ck opened this issue Jun 19, 2018 · 1 comment

Comments

@maver1ck
Copy link

I forked helm-diff plugin and trying to upgrade it gives following error.

maverick@CARBON:~/.helm/plugins/helm-diff$ helm plugin install https://github.com/maver1ck/helm-diff/
Downloading https://github.com/databus23/helm-diff/releases/download/v2.9.0%2B2/helm-diff-linux.tgz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   609    0   609    0     0    396      0 --:--:--  0:00:01 --:--:--   397
100 4776k  100 4776k    0     0   530k      0  0:00:09  0:00:09 --:--:-- 1056k
Preparing to install into /home/maverick/.helm/plugins/helm-diff
helm-diff installed into /home/maverick/.helm/plugins/helm-diff/helm-diff
***
maverick@CARBON:~/.helm/plugins/helm-diff$ helm plugin update diff --debug
[debug] loading installed plugins from /home/maverick/.helm/plugins
Error: Failed to update plugin diff, got error (plugin does not exist)

Output of helm version:

Server: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}

Output of kubectl version:

Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.6", GitCommit:"9f8ebd171479bec0ada837d7ee641dec2f8c6dd1", GitTreeState:"clean", BuildDate:"2018-03-21T15:13:31Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.):
AWS

@maver1ck
Copy link
Author

I think the problem lies here:

maverick@CARBON:~/.helm/cache/plugins/https-github.com-maver1ck-helm-diff-$ git config --get remote.origin.url
https://github.com/maver1ck/helm-diff.git

The folder name is helm-diff.git and then helm is looking for this directory

[pid  2227] newfstatat(AT_FDCWD, "/home/maverick/.helm/plugins/helm-diff.git", 0xc4209cc788, 0) = -1 ENOENT (No such file or directory)
[pid  2227] write(2, "Error: Failed to update plugin d"..., 71Error: Failed to update plugin diff, got error (plugin does not exist)

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

No branches or pull requests

2 participants