diff options
author | Jose A. Rivera <jarrpa@redhat.com> | 2017-11-15 09:44:14 -0600 |
---|---|---|
committer | Jose A. Rivera <jarrpa@redhat.com> | 2017-11-16 13:36:34 -0600 |
commit | 7ea30979a2d97051786460e25c4e6901613ea8e9 (patch) | |
tree | 4d349e8785f34ddfad5cb949cc4a87ede355d8e7 /roles/openshift_storage_glusterfs/templates | |
parent | 692d5d6c24c955fbd8982588f2a0b71c88d6a805 (diff) | |
download | openshift-7ea30979a2d97051786460e25c4e6901613ea8e9.tar.gz openshift-7ea30979a2d97051786460e25c4e6901613ea8e9.tar.bz2 openshift-7ea30979a2d97051786460e25c4e6901613ea8e9.tar.xz openshift-7ea30979a2d97051786460e25c4e6901613ea8e9.zip |
GlusterFS: Add configuration for auto creating block-hosting volumes
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
Diffstat (limited to 'roles/openshift_storage_glusterfs/templates')
-rw-r--r-- | roles/openshift_storage_glusterfs/templates/v3.7/heketi.json.j2 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/roles/openshift_storage_glusterfs/templates/v3.7/heketi.json.j2 b/roles/openshift_storage_glusterfs/templates/v3.7/heketi.json.j2 index 579b11bb7..565e9be98 100644 --- a/roles/openshift_storage_glusterfs/templates/v3.7/heketi.json.j2 +++ b/roles/openshift_storage_glusterfs/templates/v3.7/heketi.json.j2 @@ -31,6 +31,12 @@ "port" : "{{ glusterfs_heketi_ssh_port }}", "user" : "{{ glusterfs_heketi_ssh_user }}", "sudo" : {{ glusterfs_heketi_ssh_sudo | lower }} - } + }, + + "_auto_create_block_hosting_volume": "Creates Block Hosting volumes automatically if not found or exsisting volume exhausted", + "auto_create_block_hosting_volume": {{ glusterfs_block_host_vol_create | lower }}, + + "_block_hosting_volume_size": "New block hosting volume will be created in size mentioned, This is considered only if auto-create is enabled.", + "block_hosting_volume_size": {{ glusterfs_block_host_vol_size }} } } |