Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kubernetes Helm: not a valid chart repository

According to cert-manager installation docs jetstack repository should be added:

$ helm repo add jetstack https://charts.jetstack.io

It gives error message:

Error: looks like "https://charts.jetstack.io" is not a valid chart repository or cannot be reached: error unmarshaling JSON: while decoding JSON: json: unknown field "serverInfo"

What are the ways to fix the issue?

like image 389
tiktak Avatar asked Oct 23 '25 18:10

tiktak


2 Answers

This looks to be caused by a patch done in Version 3.3.2 of Helm for security based issues.

Reference Issue: https://github.com/helm/helm/issues/8761

Security Patch: https://github.com/helm/helm/pull/8762

like image 179
Cameron Munroe Avatar answered Oct 26 '25 18:10

Cameron Munroe


Update 24 Sept 2020

This is now also fixed in Helm 3.3.3. To upgrade to the latest Helm version in Windows choco upgrade kubernetes-helm

like image 42
Chris Halcrow Avatar answered Oct 26 '25 16:10

Chris Halcrow