Give Bodhi's OpenShift container a more complete fedmsg config.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
c92f1f0c5d
commit
7d859098a3
1 changed files with 17 additions and 1 deletions
|
@ -18,4 +18,20 @@ metadata:
|
||||||
app: bodhi
|
app: bodhi
|
||||||
data:
|
data:
|
||||||
bodhi.py: |-
|
bodhi.py: |-
|
||||||
config = {'active': True}
|
import socket
|
||||||
|
config = {
|
||||||
|
'sign_messages': True,
|
||||||
|
'active': True,
|
||||||
|
'cert_prefix': 'bodhi',
|
||||||
|
'certnames': {'bodhi.{}'.format(socket.gethostname()): 'bodhi'},
|
||||||
|
'relay_inbound': ['tcp://busgateway01{{ env_suffix }}.phx2.fedoraproject.org:9941'],
|
||||||
|
{% if env == 'staging' %}
|
||||||
|
'environment': 'stg',
|
||||||
|
# stg should listen to the stg bus
|
||||||
|
'endpoints': {
|
||||||
|
'staging_gateway': ['tcp://stg.fedoraproject.org:9940']
|
||||||
|
}
|
||||||
|
{% else %}
|
||||||
|
'environment': 'prod',
|
||||||
|
{% endif %}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue