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
|
||||
|
||||
[tls]
|
||||
ca_cert = "/etc/pki/rabbitmq/ca/rabbitmq-ca.crt"
|
||||
keyfile = "/etc/pki/rabbitmq/key/rabbitmq-fmn.key"
|
||||
certfile = "/etc/pki/rabbitmq/crt/rabbitmq-fmn.crt"
|
||||
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"
|
||||
|
||||
|
||||
[client_properties]
|
||||
|
|
|
@ -159,14 +159,14 @@ spec:
|
|||
- name: etc-fmn
|
||||
mountPath: "/etc/fmn"
|
||||
readOnly: true
|
||||
- name: rabbitmq-ca-volume
|
||||
mountPath: /etc/pki/rabbitmq/ca
|
||||
- name: fedora-messaging-ca-volume
|
||||
mountPath: /etc/pki/fedora-messaging/ca
|
||||
readOnly: true
|
||||
- name: rabbitmq-key-volume
|
||||
mountPath: /etc/pki/rabbitmq/key
|
||||
- name: fedora-messaging-key-volume
|
||||
mountPath: /etc/pki/fedora-messaging/key
|
||||
readOnly: true
|
||||
- name: rabbitmq-crt-volume
|
||||
mountPath: /etc/pki/rabbitmq/crt
|
||||
- name: fedora-messaging-crt-volume
|
||||
mountPath: /etc/pki/fedora-messaging/crt
|
||||
readOnly: true
|
||||
env:
|
||||
- name: APP_SCRIPT
|
||||
|
@ -175,15 +175,15 @@ spec:
|
|||
- name: etc-fmn
|
||||
configMap:
|
||||
name: fmn
|
||||
- name: rabbitmq-ca-volume
|
||||
mountPath: /etc/pki/rabbitmq/ca
|
||||
readOnly: true
|
||||
- name: rabbitmq-key-volume
|
||||
mountPath: /etc/pki/rabbitmq/key
|
||||
readOnly: true
|
||||
- name: rabbitmq-crt-volume
|
||||
mountPath: /etc/pki/rabbitmq/crt
|
||||
readOnly: true
|
||||
- name: fedora-messaging-ca-volume
|
||||
secret:
|
||||
secretName: fedora-messaging-ca
|
||||
- name: fedora-messaging-key-volume
|
||||
secret:
|
||||
secretName: fedora-messaging-key
|
||||
- name: fedora-messaging-crt-volume
|
||||
secret:
|
||||
secretName: fedora-messaging-crt
|
||||
triggers:
|
||||
- type: ImageChange
|
||||
imageChangeParams:
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
amqp_url = "amqps://fmn{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Ffmn"
|
||||
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]
|
||||
class = "fmn.sender.email:EmailHandler"
|
||||
# class = "fmn.sender.irc:IRCHandler"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue