{%- macro load_file(filename) %}{% include filename %}{%- endmacro -%}
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: grafana-dashboards
  labels:
    app: monitor-dashboard
data:
  dashboard_anitya.json: |-
      {{ load_file('dashboard_anitya.json.j2') | indent(6) }}
  dashboard_fedora_coreos_updates.json: |-
      {{ load_file('dashboard_fedora_coreos_updates.json.j2') | indent(6) }}
