{{- if .Values.grafana.enabled -}} apiVersion: v1 kind: ConfigMap metadata: name: {{ include "otel-demo.name" . }}-grafana-dashboards labels: {{- include "otel-demo.labels" . | nindent 4 }} data: {{ (.Files.Glob "grafana-dashboards/*.json").AsConfig | nindent 2 }} {{- end }}