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