最近helm2.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
を実行して、プラグインディレクトリを作成することもできます。 :)