From ecdf86aeccd6c2f637989dfdc5936b69048bcbe3 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Mon, 11 Sep 2023 13:54:36 +1000 Subject: [PATCH] maubot: actually add the config.toml Signed-off-by: Ryan Lerch --- .../maubot/templates/config.toml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 roles/openshift-apps/maubot/templates/config.toml diff --git a/roles/openshift-apps/maubot/templates/config.toml b/roles/openshift-apps/maubot/templates/config.toml new file mode 100644 index 0000000000..2142e4f304 --- /dev/null +++ b/roles/openshift-apps/maubot/templates/config.toml @@ -0,0 +1,22 @@ +amqp_url = "amqps://maubot{{ env_suffix }}.fedoraproject.org:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub" + +{% if env == "staging" %} +topic_prefix = "org.fedoraproject.stg" +{% else %} +topic_prefix = "org.fedoraproject.prod" +{% endif %} + +publish_exchange = "amq.topic" +passive_declares = true + +[tls] +ca_cert = "/etc/pki/rabbitmq/ca/maubot.ca" +keyfile = "/etc/pki/rabbitmq/key/maubot.key" +certfile = "/etc/pki/rabbitmq/crt/maubot.crt" + +[client_properties] +app = "maubot" + +[qos] +prefetch_size = 0 +prefetch_count = 25