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:
parent
a615d68126
commit
3b40eb1363
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue