FMN: fix the fedora-messaging config
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
8de5ca387a
commit
f66e327bab
3 changed files with 23 additions and 18 deletions
|
@ -3,9 +3,9 @@ callback = "fmn.consumer:Consumer"
|
||||||
passive_declares = true
|
passive_declares = true
|
||||||
|
|
||||||
[tls]
|
[tls]
|
||||||
ca_cert = "/etc/pki/rabbitmq/ca/rabbitmq-ca.crt"
|
ca_cert = "/etc/pki/fedora-messaging/ca/cacert.pem"
|
||||||
keyfile = "/etc/pki/rabbitmq/key/rabbitmq-fmn.key"
|
certfile = "/etc/pki/fedora-messaging/crt/fmn-cert.pem"
|
||||||
certfile = "/etc/pki/rabbitmq/crt/rabbitmq-fmn.crt"
|
keyfile = "/etc/pki/fedora-messaging/key/fmn-key.pem"
|
||||||
|
|
||||||
|
|
||||||
[client_properties]
|
[client_properties]
|
||||||
|
|
|
@ -159,14 +159,14 @@ spec:
|
||||||
- name: etc-fmn
|
- name: etc-fmn
|
||||||
mountPath: "/etc/fmn"
|
mountPath: "/etc/fmn"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: rabbitmq-ca-volume
|
- name: fedora-messaging-ca-volume
|
||||||
mountPath: /etc/pki/rabbitmq/ca
|
mountPath: /etc/pki/fedora-messaging/ca
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: rabbitmq-key-volume
|
- name: fedora-messaging-key-volume
|
||||||
mountPath: /etc/pki/rabbitmq/key
|
mountPath: /etc/pki/fedora-messaging/key
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: rabbitmq-crt-volume
|
- name: fedora-messaging-crt-volume
|
||||||
mountPath: /etc/pki/rabbitmq/crt
|
mountPath: /etc/pki/fedora-messaging/crt
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
env:
|
||||||
- name: APP_SCRIPT
|
- name: APP_SCRIPT
|
||||||
|
@ -175,15 +175,15 @@ spec:
|
||||||
- name: etc-fmn
|
- name: etc-fmn
|
||||||
configMap:
|
configMap:
|
||||||
name: fmn
|
name: fmn
|
||||||
- name: rabbitmq-ca-volume
|
- name: fedora-messaging-ca-volume
|
||||||
mountPath: /etc/pki/rabbitmq/ca
|
secret:
|
||||||
readOnly: true
|
secretName: fedora-messaging-ca
|
||||||
- name: rabbitmq-key-volume
|
- name: fedora-messaging-key-volume
|
||||||
mountPath: /etc/pki/rabbitmq/key
|
secret:
|
||||||
readOnly: true
|
secretName: fedora-messaging-key
|
||||||
- name: rabbitmq-crt-volume
|
- name: fedora-messaging-crt-volume
|
||||||
mountPath: /etc/pki/rabbitmq/crt
|
secret:
|
||||||
readOnly: true
|
secretName: fedora-messaging-crt
|
||||||
triggers:
|
triggers:
|
||||||
- type: ImageChange
|
- type: ImageChange
|
||||||
imageChangeParams:
|
imageChangeParams:
|
||||||
|
|
|
@ -3,6 +3,11 @@
|
||||||
amqp_url = "amqps://fmn{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Ffmn"
|
amqp_url = "amqps://fmn{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Ffmn"
|
||||||
queue = "email"
|
queue = "email"
|
||||||
|
|
||||||
|
[tls]
|
||||||
|
ca_cert = "/etc/pki/fedora-messaging/ca/cacert.pem"
|
||||||
|
certfile = "/etc/pki/fedora-messaging/crt/fmn-cert.pem"
|
||||||
|
keyfile = "/etc/pki/fedora-messaging/key/fmn-key.pem"
|
||||||
|
|
||||||
[handler]
|
[handler]
|
||||||
class = "fmn.sender.email:EmailHandler"
|
class = "fmn.sender.email:EmailHandler"
|
||||||
# class = "fmn.sender.irc:IRCHandler"
|
# class = "fmn.sender.irc:IRCHandler"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue