[Bug] Helm3 cli pulls v2 helm chart version in 0.19.0
See original GitHub issueStrimzi helm repo contains two versions of helm chart release for 0.19.0, one for helm 2 and other for helm 3. However, there is no way to get helm v3 client working with v3 chart .
This cause errors in installing/updating operator using helm3 clients when CRDs are previously installed
To Reproduce
$ helm version
version.BuildInfo{Version:"v3.2.4", GitCommit:"0ad800ef43d3b826f31a5ad8dfbb4fe05d143688", GitTreeState:"clean", GoVersion:"go1.13.12"}
$ helm repo add strimzi https://strimzi.io/charts/
"strimzi" has been added to your repositories
$ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "strimzi" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈ Happy Helming!⎈
$ helm install --debug --dry-run test strimzi/strimzi-kafka-operator
install.go:159: [debug] Original chart version: ""
install.go:176: [debug] CHART PATH: xxx.cache/helm/repository/strimzi-kafka-operator-helm-2-chart-0.19.0.tgz
Error: rendered manifests contain a resource that already exists...
Expected behavior
$ helm install --debug --dry-run test strimzi/strimzi-kafka-operator
install.go:159: [debug] Original chart version: ""
install.go:176: [debug] CHART PATH: xxx.cache/helm/repository/strimzi-kafka-operator-helm-3-chart-0.19.0.tgz
and no errors
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:11 (10 by maintainers)
Top Results From Across the Web
Migrating Helm v2 to v3
Migrating Helm v2 to v3. This guide shows how to migrate Helm v2 to v3. Helm v2 needs to be installed and managing...
Read more >Helm Pull
Helm Pull. helm pull. download a chart from a repository and (optionally) unpack it in local directory. Synopsis. Retrieve a package from a...
Read more >Changes Since Helm 2
Here's an exhaustive list of all the major changes introduced in Helm 3. Removal of Tiller. During the Helm 2 development cycle, we...
Read more >Troubleshooting - Helm
When I add a Helm repo, I get the error 'Error: Repo "https://kubernetes-charts.storage.googleapis.com" is no longer available'. The Helm Chart repositories are ...
Read more >Helm Version Support Policy
2 client, so it is compatible with Kubernetes 1.16. As of Helm 3, Helm is assumed to be compatible with n-3 versions of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@klalafaryan As we are slowly deprecating Helm v2 (which is being deprecated anyway), I will not add it to the index file anymore in 0.20.0 release (zip file will be still there for download) and I expect it to be removed after the release.
Link is easy … it is in the GitHub release, at the bottom: https://github.com/strimzi/strimzi-kafka-operator/releases/tag/0.19.0