mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-04 02:44:40 +08:00
34 lines
991 B
YAML
34 lines
991 B
YAML
apiVersion: v1
|
|
items:
|
|
- apiVersion: v1
|
|
data:
|
|
librariesio2fedmsg.py: |-
|
|
import socket
|
|
config = dict(
|
|
topic_prefix='org.fedoraproject',
|
|
zmq_enabled=True,
|
|
endpoints={},
|
|
# Openshift requires that we relay through the fedmsg relay because we don't
|
|
# know our hostname.
|
|
active=True,
|
|
{% if env == 'staging' %}
|
|
environment='stg',
|
|
relay_inbound=["tcp://busgateway01.stg.phx2.fedoraproject.org:9941"],
|
|
{% else %}
|
|
environment='prod',
|
|
relay_inbound=["tcp://busgateway01.phx2.fedoraproject.org:9941"],
|
|
{% endif %}
|
|
sign_messages=True,
|
|
ssldir='/etc/pki/fedmsg/',
|
|
cert_prefix="librariesio2fedmsg",
|
|
certnames={
|
|
"librariesio2fedmsg." + socket.gethostname(): "librariesio2fedmsg",
|
|
},
|
|
)
|
|
kind: ConfigMap
|
|
metadata:
|
|
creationTimestamp: null
|
|
name: fedmsg-config
|
|
kind: List
|
|
metadata: {}
|