{% macro load_file(filename) %}{% include filename %}{%- endmacro -%}
---
apiVersion: v1
kind: List
metadata: {}
items:
- apiVersion: v1
  kind: ConfigMap
  metadata:
    name: release-monitoring-configmap
    labels:
      app: release-monitoring
  data:
    anitya.toml: |-
      {{ load_file('anitya.toml') | indent(6) }}
    alembic.ini: |-
      {{ load_file('alembic.ini') | indent(6) }}
    start.sh: |-
      {{ load_file('start.sh') | indent(6) }}
    httpd.conf: |-
      {{ load_file('httpd.conf') | indent(6) }}
    anitya.wsgi: |-
      {{ load_file('anitya.wsgi') | indent(6) }}
- apiVersion: v1
  kind: ConfigMap
  metadata:
    name: fedora-messaging-configmap
    labels:
      app: release-monitoring
  data:
    config.toml: |-
      {{ load_file('config.toml') | indent(6) }}
