greenwave: use fedmsg-hub-3 instead of fedmsg-hub as the entrypoint

Greenwave 0.8+ has switched to Python 3, which means the fedmsg-hub
command for the fedmsg-consumers pod has to be fedmsg-hub-3 now.

This is in staging only for now.
This commit is contained in:
Dan Callaghan 2018-07-02 12:24:59 +10:00
parent a615d68126
commit 3b40eb1363
No known key found for this signature in database
GPG key ID: 7AA9FECF9C666408
2 changed files with 5 additions and 1 deletions

View file

@ -71,7 +71,7 @@
objectname: route.yml
- role: openshift/object
app: greenwave
file: deploymentconfig.yml
template: deploymentconfig.yml
objectname: deploymentconfig.yml
- role: openshift/rollout
app: greenwave

View file

@ -80,7 +80,11 @@ spec:
ports:
- containerPort: 8081
command:
{% if env == 'staging' %}
- '/usr/bin/fedmsg-hub-3'
{% else %}
- '/usr/bin/fedmsg-hub'
{% endif %}
volumeMounts:
- name: config-volume
mountPath: /etc/greenwave