我按照文档中的说明进行操作,但得到以下输出:
C:\temp\helm-v3.11.1-windows-amd64\windows-amd64>helm repo add bitnami https://charts.bitnami.com/bitnami
"bitnami" has been added to your repositories
C:\temp\helm-v3.11.1-windows-amd64\windows-amd64>helm repo add pact-broker https://pact-foundation.github.io/pact-broker-chart/
Error: looks like "https://pact-foundation.github.io/pact-broker-chart/" is not a valid chart repository or cannot be reached: Get "https://pact-foundation.github.io/pact-broker-chart/index.yaml": dial tcp 185.199.110.153:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
因为第一个仓库添加成功,所以我断定网络连接或代理没有问题。我可以打开错误消息中提到的 .yaml 文件,但是没有 yaml 的 url 给出 http 404。我猜文档有问题。
请指教..
我不知道为什么,但不知何故,我们的代理让 bitnami 而不是契约经纪人。我按照here所述添加了代理环境变量,并且能够添加图表。