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
|
storage: 1Gi
|
||||||
storageClassName: ""
|
storageClassName: ""
|
||||||
volumeName: primary-mirror-archive
|
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"
|
mountPath: "/srv/pub"
|
||||||
- name: mirror-archive
|
- name: mirror-archive
|
||||||
mountPath: "/srv/pub/archive"
|
mountPath: "/srv/pub/archive"
|
||||||
|
{% if env == 'production' %}
|
||||||
|
- name: codecs
|
||||||
|
mountPath: "/srv/codecs.fedoraproject.org"
|
||||||
|
{% endif %}
|
||||||
volumes:
|
volumes:
|
||||||
{{ common_volumes(with_ssh=True) }}
|
{{ common_volumes(with_ssh=True) }}
|
||||||
- name: mirror
|
- name: mirror
|
||||||
|
@ -33,4 +37,9 @@ spec:
|
||||||
- name: mirror-archive
|
- name: mirror-archive
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: primary-mirror-archive
|
claimName: primary-mirror-archive
|
||||||
|
{% if env == 'production' %}
|
||||||
|
- name: codecs
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: codecs
|
||||||
|
{% endif %}
|
||||||
{{ security_context() }}
|
{{ security_context() }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue