无法安装 helm-diff

use*_*491 3 kubernetes-helm helm3

我从 homebrew 安装了 helm3 ( https://formulae.brew.sh/formula/helm )。我将安装 helm-diff ( https://github.com/databus23/helm-diff )。

这是我的命令:

helm plugin install https://github.com/databus23/helm-diff
Run Code Online (Sandbox Code Playgroud)

结果是:

Error: plugin already exists
Run Code Online (Sandbox Code Playgroud)

我然后:

helm plugin list
Run Code Online (Sandbox Code Playgroud)

并返回

NAME    VERSION DESCRIPTION
Run Code Online (Sandbox Code Playgroud)

我也尝试过:

helm plugin uninstall https://github.com/databus23/helm-diff
Run Code Online (Sandbox Code Playgroud)

并返回

Error: Plugin: https://github.com/databus23/helm-diff not found
Run Code Online (Sandbox Code Playgroud)

我应该怎么做才能安装这个插件?

wde*_*tac 7

进入 ~/Library/helm/plugins 查看 helm-diff 是否存在。然后删除该目录。它应该可以解决你的问题。