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
|
objectname: route.yml
|
||||||
- role: openshift/object
|
- role: openshift/object
|
||||||
app: greenwave
|
app: greenwave
|
||||||
file: deploymentconfig.yml
|
template: deploymentconfig.yml
|
||||||
objectname: deploymentconfig.yml
|
objectname: deploymentconfig.yml
|
||||||
- role: openshift/rollout
|
- role: openshift/rollout
|
||||||
app: greenwave
|
app: greenwave
|
||||||
|
|
|
@ -80,7 +80,11 @@ spec:
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8081
|
- containerPort: 8081
|
||||||
command:
|
command:
|
||||||
|
{% if env == 'staging' %}
|
||||||
|
- '/usr/bin/fedmsg-hub-3'
|
||||||
|
{% else %}
|
||||||
- '/usr/bin/fedmsg-hub'
|
- '/usr/bin/fedmsg-hub'
|
||||||
|
{% endif %}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
mountPath: /etc/greenwave
|
mountPath: /etc/greenwave
|
Loading…
Add table
Add a link
Reference in a new issue