I have a following Helmlife:
environments:
{{ range $index,$item := readDirEntries "./environment" }}
{{- if $item.IsDir -}}
{{- $item.Name -}}
{{- end -}}
{{- end -}}
releases:
- name: system-{{ .Environment.Name }}
createNamespace: true
chart: ./charts/dsp-system
namespace: system-{{ .Environment.Name }}
values:
- ./environment/{{ .Environment.Name }}/values.yaml
However it outputs that some error occurs in the environments field, and error is connected with templating that I had done