{% macro load_file(filename) %}{% include filename %}{%- endmacro -%}
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: fedora-messaging-configmap
  labels:
    app: messaging-bridges
data:
  config.toml: |-
    {{ load_file('config.toml') | indent }}
  amqp-to-zmq.toml: |-
    {{ load_file('amqp-to-zmq.toml') | indent }}
  zmq-to-amqp.toml: |-
    {{ load_file('zmq-to-amqp.toml') | indent }}
  verify-missing.toml: |-
    {{ load_file('verify-missing.toml') | indent }}
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: fedmsg-configmap
  labels:
    app: messaging-bridges
data:
  fedmsg-migration-tools.py: |-
    {{ load_file('fedmsg-migration-tools.py') | indent }}
