apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ include "prometheus-windows-exporter.fullname" . }}-scripts
  namespace: {{ include "prometheus-windows-exporter.namespace" . }}
  labels:
    {{- include "windowsExporter.labels" $ | nindent 4 }}
  {{- with .Values.service.annotations }}
  annotations:
    {{- toYaml . | nindent 4 }}
  {{- end }}
data:
{{ (.Files.Glob "scripts/*").AsConfig | indent 2 }}

