Add topic permissions for more apps

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2022-06-23 18:40:18 +02:00
parent 41df4f87dd
commit 15982bb9ae
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
7 changed files with 15 additions and 0 deletions

View file

@ -33,6 +33,9 @@
username: "mirror_pagure_ansible{{ env_suffix }}" username: "mirror_pagure_ansible{{ env_suffix }}"
- role: rabbit/user - role: rabbit/user
username: "batcave{{ env_suffix }}" username: "batcave{{ env_suffix }}"
sent_topics:
- ^org\.fedoraproject\.{{ env_short }}\.ansible\..*
- ^org\.fedoraproject\.{{ env_short }}\.git\..*
- role: rabbit/queue - role: rabbit/queue
username: "mirror_pagure_ansible{{ env_suffix }}" username: "mirror_pagure_ansible{{ env_suffix }}"
queue_name: "mirror_pagure_ansible{{ env_suffix }}" queue_name: "mirror_pagure_ansible{{ env_suffix }}"

View file

@ -75,6 +75,8 @@
- git/server - git/server
- role: rabbit/user - role: rabbit/user
username: "planet{{ env_suffix }}" username: "planet{{ env_suffix }}"
sent_topics:
- ^org\.fedoraproject\.{{ env_short }}\.planet\..*
- role: apache - role: apache

View file

@ -82,6 +82,8 @@
# Set up for fedora-messaging # Set up for fedora-messaging
- role: rabbit/user - role: rabbit/user
username: "pagure{{ env_suffix }}" username: "pagure{{ env_suffix }}"
sent_topics:
- ^org\.fedoraproject\.{{ env_short }}\.pagure\..*
handlers: handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -11,6 +11,8 @@
roles: roles:
- role: rabbit/user - role: rabbit/user
username: "fedocal{{ env_suffix }}" username: "fedocal{{ env_suffix }}"
sent_topics:
- ^org\.fedoraproject\.{{ env_short }}\.fedocal\..*
- role: openshift/project - role: openshift/project
app: fedocal app: fedocal

View file

@ -11,6 +11,8 @@
roles: roles:
- role: rabbit/user - role: rabbit/user
username: "mdapi{{ env_suffix }}" username: "mdapi{{ env_suffix }}"
sent_topics:
- ^org\.fedoraproject\.{{ env_short }}\.mdapi\..*
- role: openshift/project - role: openshift/project
app: mdapi app: mdapi

View file

@ -13,6 +13,8 @@
roles: roles:
- role: rabbit/user - role: rabbit/user
username: "anitya{{ env_suffix }}" username: "anitya{{ env_suffix }}"
sent_topics:
- ^org\.release-monitoring\.{{ env_short }}\.anitya\..*
- role: openshift/project - role: openshift/project
app: release-monitoring app: release-monitoring
description: release-monitoring description: release-monitoring

View file

@ -20,6 +20,8 @@
thresholds: thresholds:
warning: 10 warning: 10
critical: 100 critical: 100
sent_topics:
- ^org\.fedoraproject\.{{ env_short }}\.hotness\..*
- role: openshift/project - role: openshift/project
app: the-new-hotness app: the-new-hotness