openscanhub: use NFS volume for storing task results

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
This commit is contained in:
Siteshwar Vashisht 2024-04-04 11:00:52 +02:00 committed by zlopez
parent d272c54961
commit e4c077ce23

View file

@ -3,10 +3,10 @@ kind: PersistentVolumeClaim
metadata:
name: openscanhub-pvc-var-lib-osh
spec:
# TODO: This name should be set when `storageClassName` is NFS
# volumeName: fedora-openscanhub-var-lib-osh-{{env_short}}
# This volume is on NFS.
volumeName: fedora-openscanhub-var-lib-osh-{{env_short}}
accessModes:
- ReadWriteOnce
- ReadWriteMany
resources:
requests:
# This should be manually expanded when production
@ -16,5 +16,4 @@ spec:
{% else %}
storage: 512Gi
{% endif %}
storageClassName: 'ocs-storagecluster-cephfs'
volumeMode: Filesystem
storageClassName: ''