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