Mirrormanager: the nfs mount is only available in prod
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
6d2919d8e2
commit
a00d7db58c
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
#
|
||||
|
||||
### Primary mirror scanning cron jobs
|
||||
#
|
||||
{% from "_macros.yml" import common_volume_mounts, common_volumes, common_env, security_context with context %}
|
||||
|
@ -32,8 +32,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) | indent(4) }}
|
||||
- name: mirror
|
||||
|
@ -42,8 +44,10 @@ spec:
|
|||
- name: mirror-archive
|
||||
persistentVolumeClaim:
|
||||
claimName: primary-mirror-archive
|
||||
{% if env == 'production' %}
|
||||
- name: codecs
|
||||
persistentVolumeClaim:
|
||||
claimName: codecs
|
||||
{% endif %}
|
||||
{{ security_context() | indent(4) }}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue