apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ template "sumologic-fluentd.fullname" . }}
  labels:
    app: {{ template "sumologic-fluentd.name" . }}
    chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
    release: "{{ .Release.Name }}"
    heritage: "{{ .Release.Service }}"
data:
  {{ $root := . }}
  {{ range $path, $bytes := .Files.Glob "files/*"}}
  {{ base $path }}: |
{{ $root.Files.Get $path | indent 4 }}
  {{ end }}
