4

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?

tiktak
  • 1,801
  • 2
  • 26
  • 46

2 Answers2

4

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

  • Thanks! Indeed fixed it by downgrading. Removed helm, followed https://helm.sh/docs/intro/install/ but run `./get_helm.sh --version v3.3.1` – tiktak Sep 18 '20 at 11:25
  • This is a major surprise, other repos are affected too (like devspace.io which hosts loft) – Kingdon Sep 18 '20 at 17:12
1

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

Chris Halcrow
  • 28,994
  • 18
  • 176
  • 206