0

我想将 helm 版本从 2 版本升级到 3 版本,因为在 JenkinsX 中使用“helm delete --purge”时遇到“找不到分蘖”问题。

所以升级不依赖于分蘖,让我的工作变得轻松。请帮我解决这个问题。

jx step helm build
WARNING: No $CHART_REPOSITORY defined so using the default value of: http://jenkins-x-chartmuseum:8080
Adding missing Helm repo: storage.googleapis.com https://storage.googleapis.com/chartmuseum.jenkins-x.io
Successfully added Helm repository storage.googleapis.com.
Adding missing Helm repo: jenkins-x-chartmuseum http://jenkins-x-chartmuseum:8080
Successfully added Helm repository jenkins-x-chartmuseum.
WARNING: No $CHART_REPOSITORY defined so using the default value of: http://jenkins-x-chartmuseum:8080
Adding missing Helm repo: chartmuseum.jenkins-x.io http://chartmuseum.jenkins-x.io
Successfully added Helm repository chartmuseum.jenkins-x.io.
EXITCODE   0[Pipeline] sh
[preview] Running shell script
+ make delete
helm version
Client: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
Error: could not find tiller
4

1 回答 1

0

使用命令choco upgrade kubernetes-helm 首先安装 chococo/brew 然后使用上面的 choco cmd 或brew upgrade helm.

最新的 Helm 3 不需要舵柄。

于 2020-02-05T12:53:34.283 回答