MirrorManager: add the mountpoint for codecs
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
1ad5441c8b
commit
6d2919d8e2
2 changed files with 19 additions and 0 deletions
|
@ -72,6 +72,20 @@ spec:
|
|||
path: /fedora_ftp_archive
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: codecs
|
||||
spec:
|
||||
capacity:
|
||||
storage: 5Gi
|
||||
accessModes:
|
||||
- ReadOnlyMany
|
||||
nfs:
|
||||
server: ntap-iad2-c02-fedora01-nfs01a
|
||||
path: /openshift_prod_codecs
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
---
|
||||
# Then, the PVCs
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
|
|
|
@ -32,6 +32,8 @@ spec:
|
|||
mountPath: "/srv/pub"
|
||||
- name: mirror-archive
|
||||
mountPath: "/srv/pub/archive"
|
||||
- name: codecs
|
||||
mountPath: "/srv/codecs.fedoraproject.org"
|
||||
volumes:
|
||||
{{ common_volumes(with_ssh=True) | indent(4) }}
|
||||
- name: mirror
|
||||
|
@ -40,5 +42,8 @@ spec:
|
|||
- name: mirror-archive
|
||||
persistentVolumeClaim:
|
||||
claimName: primary-mirror-archive
|
||||
- name: codecs
|
||||
persistentVolumeClaim:
|
||||
claimName: codecs
|
||||
{{ security_context() | indent(4) }}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue