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
|
path: /fedora_ftp_archive
|
||||||
persistentVolumeReclaimPolicy: Retain
|
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
|
# Then, the PVCs
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
|
|
|
@ -32,6 +32,8 @@ spec:
|
||||||
mountPath: "/srv/pub"
|
mountPath: "/srv/pub"
|
||||||
- name: mirror-archive
|
- name: mirror-archive
|
||||||
mountPath: "/srv/pub/archive"
|
mountPath: "/srv/pub/archive"
|
||||||
|
- name: codecs
|
||||||
|
mountPath: "/srv/codecs.fedoraproject.org"
|
||||||
volumes:
|
volumes:
|
||||||
{{ common_volumes(with_ssh=True) | indent(4) }}
|
{{ common_volumes(with_ssh=True) | indent(4) }}
|
||||||
- name: mirror
|
- name: mirror
|
||||||
|
@ -40,5 +42,8 @@ spec:
|
||||||
- name: mirror-archive
|
- name: mirror-archive
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: primary-mirror-archive
|
claimName: primary-mirror-archive
|
||||||
|
- name: codecs
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: codecs
|
||||||
{{ security_context() | indent(4) }}
|
{{ security_context() | indent(4) }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue