fedora-ostree-pruner: Revert changes related to pvc

It turns out the ostree volumes are special in that they are NFS shares
mapped to the NetApp Volumes for OSTree repo storage. They have
specific names and require no storage class to be set. This reverts the
changes made yesterday.
This commit is contained in:
Adam Piasecki 2025-05-14 15:34:23 +01:00
parent 8a9adc58ec
commit 8dde62031e

View file

@ -8,16 +8,9 @@ kind: PersistentVolumeClaim
metadata:
name: fedora-ostree-content-volume
spec:
# ocs-storagecluster-cephfs to use `ReadWriteMany` functionality
storageClassName: "ocs-storagecluster-cephfs"
# fedora-ostree-content-volume-2 is one of two PVs that share
# the fedora-ostree-content NetApp volume
{% if env == "production" %}
volumeName: "fedora-ostree-content-volume-2"
{% elif env == "staging" %}
# fedora-ostree-content-volume-2 is not available in staging
volumeName: "fedora-ostree-content-volume-1"
{% endif %}
# These values are mostly ignored since we're using a named
# volume, but are required.
accessModes: