From 8dde62031e05ac12d1a1733cce397ce14fbb66d8 Mon Sep 17 00:00:00 2001 From: Adam Piasecki Date: Wed, 14 May 2025 15:34:23 +0100 Subject: [PATCH] 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. --- .../fedora-ostree-pruner/templates/pvc.yml.j2 | 7 ------- 1 file changed, 7 deletions(-) diff --git a/roles/openshift-apps/fedora-ostree-pruner/templates/pvc.yml.j2 b/roles/openshift-apps/fedora-ostree-pruner/templates/pvc.yml.j2 index 0c3e245ab1..e26b9c2910 100644 --- a/roles/openshift-apps/fedora-ostree-pruner/templates/pvc.yml.j2 +++ b/roles/openshift-apps/fedora-ostree-pruner/templates/pvc.yml.j2 @@ -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: