问题
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?
回答1:
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
回答2:
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
来源:https://stackoverflow.com/questions/63947773/kubernetes-helm-not-a-valid-chart-repository