From 48f21eea6883c44020b4f946bef092c2f5082902 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Tue, 5 Mar 2019 14:55:35 +0000 Subject: [PATCH] Try to fix the bridges config --- .../openshift-apps/messaging-bridges/templates/configmap.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/openshift-apps/messaging-bridges/templates/configmap.yml b/roles/openshift-apps/messaging-bridges/templates/configmap.yml index e3d6c3883d..d8bc955871 100644 --- a/roles/openshift-apps/messaging-bridges/templates/configmap.yml +++ b/roles/openshift-apps/messaging-bridges/templates/configmap.yml @@ -243,13 +243,15 @@ data: 'cert_prefix': 'fedmsg-migration-tools', 'certnames': {'fedmsg-migration-tools.{}'.format(socket.gethostname()): 'fedmsg-migration-tools'}, 'relay_inbound': 'tcp://busgateway01{{ env_suffix }}.phx2.fedoraproject.org:9941', - 'bodhi.%s' % hostname: ['tcp://busgateway01{{ env_suffix }}.phx2.fedoraproject.org:9941'], 'environment': '{{ env }}', {% if env == 'staging' %} # stg should listen to the stg bus 'endpoints': { 'staging_gateway': ['tcp://stg.fedoraproject.org:9940'] }, + 'environment': 'stg', +{% else %} + 'environment': 'prod', {% endif %} "validate_signatures": True, "crypto_backend": 'x509',