From 750151cd6ee6b4e66a58855ab1aaca8dbcb81ca4 Mon Sep 17 00:00:00 2001 From: Michal Konecny Date: Thu, 31 Jul 2025 15:04:03 +0200 Subject: [PATCH] [flatpak-indexer] Use empty storageClassName The named volumes doesn't have any storage class set, so the storage class doesn't match. This should fix it. --- .../flatpak-indexer/templates/storage.yml.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/openshift-apps/flatpak-indexer/templates/storage.yml.j2 b/roles/openshift-apps/flatpak-indexer/templates/storage.yml.j2 index 6baffa2f84..beb4665375 100644 --- a/roles/openshift-apps/flatpak-indexer/templates/storage.yml.j2 +++ b/roles/openshift-apps/flatpak-indexer/templates/storage.yml.j2 @@ -6,6 +6,10 @@ metadata: spec: accessModes: - ReadWriteMany + # Set the storageClassName to the empty string, otherwise it + # will get the cluster default storageClass and it won't match + # the named volume that already exists for us. + storageClassName: "" resources: requests: storage: 5Gi @@ -18,6 +22,10 @@ metadata: spec: accessModes: - ReadWriteOnce + # Set the storageClassName to the empty string, otherwise it + # will get the cluster default storageClass and it won't match + # the named volume that already exists for us. + storageClassName: "" resources: requests: storage: 1Gi