我最近安装了 helm 2.4.2 并立即尝试安装插件:
$ 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.
是否可以将丢失目录上的错误消息更改为以下内容:
“确保在尝试安装插件之前运行helm init [--client-only]
。”
甚至更好:只是自动创建这个目录?
从客户端 2.9.1 (osx) 我遇到了一个类似的错误,把我带到了这里。 它说没有定义$HELM_HOME
。 我手动运行mkdir -p ~/.helm/plugins
,之后我就可以安装插件了。
@elwaxoro你也可以运行helm init --client-only
来创建插件目录。 :)
macos 上的 v2.16.1 仍然存在问题🤔
最有用的评论
@elwaxoro你也可以运行
helm init --client-only
来创建插件目录。 :)