Don't mount a folder in a read only volume.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2018-04-16 23:52:52 +00:00
parent e708100dd0
commit 4bb555e0ba
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ items:
- name: cache-volume
mountPath: /var/cache/bodhi
- name: fedmsg-config-volume
mountPath: /etc/bodhi/fedmsg.d
mountPath: /etc/bodhi-fedmsg.d
readOnly: true
- name: fedmsg-key-volume
mountPath: /etc/pki/fedmsg/key

View file

@ -22,7 +22,7 @@ items:
RUN dnf install -y bodhi-server python2-gunicorn
RUN mv /usr/share/bodhi/bodhi.wsgi /usr/lib/python2.7/site-packages/bodhiwsgi.py
# Put the fedmsg config in place
RUN ln -sf /etc/bodhi/fedmsg.d/bodhi-openshift-web.py /etc/fedmsg.d/bodhi-openshift-web.py
RUN ln -sf /etc/bodhi-fedmsg.d/bodhi-openshift-web.py /etc/fedmsg.d/bodhi-openshift-web.py
# Put the fedmsg cert and key in place
RUN mkdir -p /etc/pki/fedmsg/
RUN ln -sf /etc/pki/fedmsg/key/fedmsg-bodhi.key /etc/pki/fedmsg/bodhi.key