MirrorManager: add missing definitions for the codecs mount
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
117a014f1e
commit
c71d1a344c
2 changed files with 22 additions and 0 deletions
|
@ -112,3 +112,16 @@ spec:
|
|||
storage: 1Gi
|
||||
storageClassName: ""
|
||||
volumeName: primary-mirror-archive
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: codecs
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadOnlyMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
storageClassName: ""
|
||||
volumeName: codecs
|
||||
|
|
|
@ -25,6 +25,10 @@ spec:
|
|||
mountPath: "/srv/pub"
|
||||
- name: mirror-archive
|
||||
mountPath: "/srv/pub/archive"
|
||||
{% if env == 'production' %}
|
||||
- name: codecs
|
||||
mountPath: "/srv/codecs.fedoraproject.org"
|
||||
{% endif %}
|
||||
volumes:
|
||||
{{ common_volumes(with_ssh=True) }}
|
||||
- name: mirror
|
||||
|
@ -33,4 +37,9 @@ spec:
|
|||
- name: mirror-archive
|
||||
persistentVolumeClaim:
|
||||
claimName: primary-mirror-archive
|
||||
{% if env == 'production' %}
|
||||
- name: codecs
|
||||
persistentVolumeClaim:
|
||||
claimName: codecs
|
||||
{% endif %}
|
||||
{{ security_context() }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue