{% macro load_file(filename) %}{% include filename %}{%- endmacro -%}
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: elections-configmap
  labels:
    app: elections
data:
  alembic.ini: |-
    {{ load_file('alembic.ini') | indent }}
  fedora-elections.cfg: |-
    {{ load_file('fedora-elections.cfg') | indent }}
  fedora-messaging.toml: |-
    {{ load_file('fedora-messaging.toml') | indent }}

