RabbitMQ: add topic authn for several CentOS users
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
dc82b8da30
commit
55ce8486a3
1 changed files with 11 additions and 5 deletions
|
@ -103,26 +103,30 @@
|
|||
# CENTOS GITLAB END
|
||||
|
||||
# CENTOS KOJI BEGIN
|
||||
- name: CentOS Koji User
|
||||
- name: CentOS Koji User (maybe unused, to remove)
|
||||
run_once: true
|
||||
include_role:
|
||||
name: rabbit/user
|
||||
vars:
|
||||
username: koji-centos{{ env_suffix }}
|
||||
username: koji-centos{{ env_suffix }}
|
||||
sent_topics: ^org\.centos\.{{ env_short }}\.buildsys\..*
|
||||
when: env != 'staging'
|
||||
|
||||
- name: CentOS Stream Koji User
|
||||
run_once: true
|
||||
include_role:
|
||||
name: rabbit/user
|
||||
vars:
|
||||
username: centos-koji
|
||||
username: centos-koji
|
||||
sent_topics: ^org\.centos\.{{ env_short }}\.buildsys\..*
|
||||
|
||||
- name: CBS Koji User
|
||||
run_once: true
|
||||
include_role:
|
||||
name: rabbit/user
|
||||
vars:
|
||||
username: cbs{{ env_suffix }}
|
||||
username: cbs{{ env_suffix }}
|
||||
sent_topics: ^org\.centos\.{{ env_short }}\.cbs\.buildsys\..*
|
||||
# CENTOS KOJI END
|
||||
|
||||
# CENTOS RESULSDB BEGIN
|
||||
|
@ -131,7 +135,8 @@
|
|||
include_role:
|
||||
name: rabbit/user
|
||||
vars:
|
||||
username: resultsdb-centos{{ env_suffix }}
|
||||
username: resultsdb-centos{{ env_suffix }}
|
||||
sent_topics: ^org\.centos\.{{ env_short }}\.resultsdb\..*
|
||||
# CENTOS RESULTSDB END
|
||||
|
||||
# CENTOS robosignatory BEGIN
|
||||
|
@ -142,6 +147,7 @@
|
|||
name: rabbit/queue
|
||||
vars:
|
||||
username: centos-stream-robosignatory
|
||||
sent_topics: ^org\.centos\.{{ env_short }}\.(robosignatory|coreos)\..*\.finished$
|
||||
queue_name: centos-stream-robosignatory
|
||||
# TTL: 10 days (in miliseconds)
|
||||
message_ttl: 864000000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue