错误:无法加载values.yaml:将YAML转换为JSON时发生错误:yaml:第**行:找不到预期的密钥

时间:2020-07-30 04:37:09

标签: go kubernetes charts cloud kubernetes-helm

我正在尝试安装Helm图表,但是收到来自注释的错误

  annotations: {}
    kubernetes.io/ingress.class: nginx
    kubernetes.io/tls-acme: "true"
helm.go:84: [debug] error converting YAML to JSON: yaml: line **: did not find expected key
code fast with www.microapi.io

1 个答案:

答案 0 :(得分:1)

删除{}

  annotations:
    kubernetes.io/ingress.class: nginx
    kubernetes.io/tls-acme: "true"