# helm_charts_files-config.yaml
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ template "logstash.fullname" . }}-files
  labels:
    app: {{ template "logstash.name" . }}
    chart: {{ template "logstash.chart" . }}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
data:
{{- range $key, $value := .Values.files }}
  {{ $key }}: |-
{{ $value | indent 4 }}
{{- end }}
binaryData:
 {{- range $key, $value := .Values.binaryFiles }}
   {{ $key }}: |-
{{ $value | indent 4   }}
 {{- end }}