Skip to content

corrected annotations range print indentation for charts/nginx/templates/ingress.yaml

annotations:
    kubernetes.io/ingress.class: "nginx"
    {{- range $key, $value := .Values.ingress.annotations }}
      {{ $key }}: {{ $value | quote }}
    {{- end }}

Was resulting in output like:

  annotations:
    kubernetes.io/ingress.class: "nginx"
      ingress.kubernetes.io/proxy-body-size: "1024M"

This is causing error converting YAML to JSON: yaml: line 11: did not find expected key, as {{ $key }}: {{ $value | quote }} is indented too far. I've moved it back.

Merge request reports