openshift-apps: fixup fedora-ostree-content-volume PV consumers

We can't share the same exact PV into two PVCs in different projects
but we can make two PVs for the same NFS share. Let's see if that
works.
This commit is contained in:
Dusty Mabe 2019-10-04 15:54:07 -04:00 committed by Pierre-Yves Chibon
parent 7cfcdec33b
commit af7bd3386f
2 changed files with 8 additions and 4 deletions

View file

@ -7,8 +7,10 @@ kind: PersistentVolumeClaim
metadata:
name: fedora-ostree-content-volume
spec:
volumeName: "fedora-ostree-content-volume"
# This values are mostly ignored since we're using a named
# fedora-ostree-content-volume-1 is one of two PVs that share
# the fedora-ostree-content NetApp volume
volumeName: "fedora-ostree-content-volume-1"
# These values are mostly ignored since we're using a named
# volume, but are required.
accessModes:
- ReadWriteMany

View file

@ -7,8 +7,10 @@ kind: PersistentVolumeClaim
metadata:
name: fedora-ostree-content-volume
spec:
volumeName: "fedora-ostree-content-volume"
# This values are mostly ignored since we're using a named
# fedora-ostree-content-volume-2 is one of two PVs that share
# the fedora-ostree-content NetApp volume
volumeName: "fedora-ostree-content-volume-2"
# These values are mostly ignored since we're using a named
# volume, but are required.
accessModes:
- ReadWriteMany