Planet: fix routing keys and add rabbit user
Signed-off-by: Pedro Moura <pmoura@redhat.com>
This commit is contained in:
parent
a00d7db58c
commit
117a014f1e
2 changed files with 6 additions and 2 deletions
|
@ -99,3 +99,7 @@
|
|||
secret_name: planet-fedora-messaging-key
|
||||
key: planet-key.pem
|
||||
privatefile: "rabbitmq/{{env}}/pki/private/planet{{env_suffix}}.key"
|
||||
|
||||
- role: rabbit/user
|
||||
username: "planet{{ env_suffix }}"
|
||||
sent_topics: ^org\.fedoraproject\.{{ env_short }}\.planet\..*
|
||||
|
|
|
@ -58,9 +58,9 @@ app_contacts_email = [
|
|||
exchange = "amq.topic"
|
||||
routing_keys = [
|
||||
{% if env == "staging" %}
|
||||
'stg.fedoraplanet.org.build'
|
||||
'org.fedoraproject.stg.planet.build'
|
||||
{% else %}
|
||||
'fedoraplanet.org.build'
|
||||
'org.fedoraproject.prod.planet.build'
|
||||
{%- endif %}
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue