bodhi: Use subPath to mount secrets.

This commit is contained in:
Randy Barlow 2019-05-14 17:24:45 +00:00
parent 0f1606ad25
commit 254bba52cb

View file

@ -65,13 +65,16 @@ items:
mountPath: /etc/fedora-messaging
readOnly: true
- name: fedora-messaging-ca-volume
mountPath: /etc/fedora-messaging
mountPath: /etc/fedora-messaging/cacert.pem
subPath: cacert.pem
readOnly: true
- name: fedora-messaging-crt-volume
mountPath: /etc/fedora-messaging
mountPath: /etc/fedora-messaging/bodhi-cert.pem
subPath: bodhi-cert.pem
readOnly: true
- name: fedora-messaging-key-volume
mountPath: /etc/fedora-messaging
mountPath: /etc/fedora-messaging/bodhi-key.pem
subPath: bodhi-key.pem
readOnly: true
{% endif %}
readinessProbe: