# helm_charts_configmap-custom-app-checks.yaml
{{- if .Values.customAppChecks }}
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ template "sysdig.fullname" . }}-custom-app-checks
  labels:
{{ include "sysdig.labels" . | indent 4 }}
data:
{{- range $file, $content :=  .Values.customAppChecks }}
  {{ $file }}: |-
{{ $content | indent 4}}
{{- end }}
{{- end }}