diff options
author | Colin Walters <walters@verbum.org> | 2015-07-21 18:38:29 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2015-07-21 18:38:29 -0400 |
commit | 3b8ca06609f6698113fe93c6e229c49ef4b2493c (patch) | |
tree | 91725131fb1aaf43fc2e51cd4b7314e06eaef222 /roles | |
parent | e0211ca67ce18fc9f74d0a9c82cf14a28f395e4d (diff) | |
download | openshift-3b8ca06609f6698113fe93c6e229c49ef4b2493c.tar.gz openshift-3b8ca06609f6698113fe93c6e229c49ef4b2493c.tar.bz2 openshift-3b8ca06609f6698113fe93c6e229c49ef4b2493c.tar.xz openshift-3b8ca06609f6698113fe93c6e229c49ef4b2493c.zip |
storage/nfs_lvm: Also export as ReadWriteOnce
While NFS supports `ReadWriteMany`, it's very common for pod authors
to only need `ReadWriteOnce`. At the moment, kube will not auto-bind
a `RWO` claim to a `RWM` volume.
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_storage_nfs_lvm/templates/nfs.json.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_storage_nfs_lvm/templates/nfs.json.j2 b/roles/openshift_storage_nfs_lvm/templates/nfs.json.j2 index 0f3d84e75..3c4d2f56c 100644 --- a/roles/openshift_storage_nfs_lvm/templates/nfs.json.j2 +++ b/roles/openshift_storage_nfs_lvm/templates/nfs.json.j2 @@ -11,7 +11,7 @@ "capacity": { "storage": "{{ osnl_volume_size }}Gi" }, - "accessModes": [ "ReadWriteMany" ], + "accessModes": [ "ReadWriteOnce", "ReadWriteMany" ], "persistentVolumeReclaimPolicy": "Recycle", "nfs": { "Server": "{{ inventory_hostname }}", |