bodhi: Use subPath to mount secrets.
This commit is contained in:
parent
0f1606ad25
commit
254bba52cb
1 changed files with 6 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue