{% macro load_file(filename) %}{% include filename %}{%- endmacro -%}
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: waiverdb-configmap
  labels:
    app: waiverdb
data:
  settings.py: |-
    {{ load_file('settings.py') | indent }}
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: fedora-messaging-configmap
  labels:
    app: waiverdb
data:
  config.toml: |-
    {{ load_file('config.toml') | indent }}
