question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] Helm3 cli pulls v2 helm chart version in 0.19.0

See original GitHub issue

Strimzi 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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
scholzjcommented, Oct 15, 2020

@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.

2reactions
scholzjcommented, Aug 31, 2020

Link is easy … it is in the GitHub release, at the bottom: https://github.com/strimzi/strimzi-kafka-operator/releases/tag/0.19.0

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found