greenwave role: mount to /etc/fedmsg-greenwave.d for the fedmsg consumers container
This will allow us to extend the default configuration provided with the rpm instead of overriding it.
This commit is contained in:
parent
4a8eec62f2
commit
6b367d3a10
2 changed files with 3 additions and 2 deletions
|
@ -83,7 +83,7 @@ spec:
|
|||
- '/usr/bin/fedmsg-hub'
|
||||
volumeMounts:
|
||||
- name: fedmsg-config-volume
|
||||
mountPath: /etc/fedmsg.d
|
||||
mountPath: /etc/fedmsg-greenwave.d
|
||||
readOnly: true
|
||||
resources:
|
||||
limits:
|
||||
|
|
|
@ -13,7 +13,6 @@ spec:
|
|||
name="Greenwave" \
|
||||
vendor="Fedora Infrastructure" \
|
||||
license="MIT"
|
||||
RUN dnf -y clean all
|
||||
RUN dnf -v -y install --setopt=tsflags=nodocs \
|
||||
python-gunicorn \
|
||||
python-requests \
|
||||
|
@ -22,6 +21,8 @@ spec:
|
|||
python2-flask
|
||||
RUN dnf -v -y install --setopt=tsflags=nodocs \
|
||||
https://kojipkgs.fedoraproject.org//packages/greenwave/0.3/1.fc26/noarch/greenwave-0.3-1.fc26.noarch.rpm
|
||||
# create a symlink for configuring the fedmsg consumers.
|
||||
RUN ln -sfn /etc/fedmsg-greenwave.d/greenwave.py /etc/fedmsg.d/greenwave.py
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT gunicorn --bind 0.0.0.0:8080 --access-logfile=- greenwave.wsgi:app
|
||||
strategy:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue