diff options
Diffstat (limited to 'roles/openshift_storage_nfs_lvm/templates')
-rw-r--r-- | roles/openshift_storage_nfs_lvm/templates/nfs.json.j2 | 8 |
1 files changed, 4 insertions, 4 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..c273aca9f 100644 --- a/roles/openshift_storage_nfs_lvm/templates/nfs.json.j2 +++ b/roles/openshift_storage_nfs_lvm/templates/nfs.json.j2 @@ -11,11 +11,11 @@ "capacity": { "storage": "{{ osnl_volume_size }}Gi" }, - "accessModes": [ "ReadWriteMany" ], - "persistentVolumeReclaimPolicy": "Recycle", + "accessModes": [ "ReadWriteOnce", "ReadWriteMany" ], + "persistentVolumeReclaimPolicy": "{{ osnl_volume_reclaim_policy }}", "nfs": { - "Server": "{{ inventory_hostname }}", - "Path": "{{ osnl_mount_dir }}/{{ item }}" + "server": "{{ inventory_hostname }}", + "path": "{{ osnl_mount_dir }}/{{ item }}" } } } |