From 4e209dc7253b245547250a1e9d751e1340e0a52d Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Jun 21 2024 09:06:37 +0000 Subject: Mirrormanager: use the new rabbitmq cert Signed-off-by: Aurélien Bompard --- diff --git a/playbooks/openshift-apps/mirrormanager.yml b/playbooks/openshift-apps/mirrormanager.yml index ae6453b..fe7b2f9 100644 --- a/playbooks/openshift-apps/mirrormanager.yml +++ b/playbooks/openshift-apps/mirrormanager.yml @@ -122,12 +122,12 @@ app: mirrormanager secret_name: fedora-messaging-crt key: cert.pem - privatefile: "rabbitmq/{{env}}/pki/issued/mirrormanager2{{env_suffix}}.crt" + privatefile: "rabbitmq/{{env}}/pki/issued/mirrormanager{{env_suffix}}.crt" - role: openshift/secret-file app: mirrormanager secret_name: fedora-messaging-key key: key.pem - privatefile: "rabbitmq/{{env}}/pki/private/mirrormanager2{{env_suffix}}.key" + privatefile: "rabbitmq/{{env}}/pki/private/mirrormanager{{env_suffix}}.key" # Deployment config - role: openshift/object diff --git a/roles/openshift-apps/mirrormanager/templates/fedora-messaging.toml b/roles/openshift-apps/mirrormanager/templates/fedora-messaging.toml index 443e63a..8dc09dc 100644 --- a/roles/openshift-apps/mirrormanager/templates/fedora-messaging.toml +++ b/roles/openshift-apps/mirrormanager/templates/fedora-messaging.toml @@ -1,4 +1,4 @@ -amqp_url = "amqps://mirrormanager2{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub" +amqp_url = "amqps://mirrormanager{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub" # Just check if the queue exist, don't try to create it (the server does not allow it). passive_declares = true