Kubernetes Helm: not a valid chart repository

时光怂恿深爱的人放手 提交于 2021-02-07 19:55:45

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!