diff options
author | Jose A. Rivera <jarrpa@redhat.com> | 2017-07-07 15:21:58 -0500 |
---|---|---|
committer | Jose A. Rivera <jarrpa@redhat.com> | 2017-07-08 16:09:39 -0500 |
commit | 726dae9a3fa4b8e825387c39e2d5ef4a34095b7c (patch) | |
tree | dc4d387b39419cff57a0892c7503318fc257cfcb /roles/openshift_storage_glusterfs/templates/v3.6/heketi.json.j2 | |
parent | 2c647a966f141dff1aa1d716747e44b7d0923fd1 (diff) | |
download | openshift-726dae9a3fa4b8e825387c39e2d5ef4a34095b7c.tar.gz openshift-726dae9a3fa4b8e825387c39e2d5ef4a34095b7c.tar.bz2 openshift-726dae9a3fa4b8e825387c39e2d5ef4a34095b7c.tar.xz openshift-726dae9a3fa4b8e825387c39e2d5ef4a34095b7c.zip |
GlusterFS: Fix SSH-based heketi configuration
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
Diffstat (limited to 'roles/openshift_storage_glusterfs/templates/v3.6/heketi.json.j2')
-rw-r--r-- | roles/openshift_storage_glusterfs/templates/v3.6/heketi.json.j2 | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/roles/openshift_storage_glusterfs/templates/v3.6/heketi.json.j2 b/roles/openshift_storage_glusterfs/templates/v3.6/heketi.json.j2 new file mode 100644 index 000000000..579b11bb7 --- /dev/null +++ b/roles/openshift_storage_glusterfs/templates/v3.6/heketi.json.j2 @@ -0,0 +1,36 @@ +{ + "_port_comment": "Heketi Server Port Number", + "port" : "8080", + + "_use_auth": "Enable JWT authorization. Please enable for deployment", + "use_auth" : false, + + "_jwt" : "Private keys for access", + "jwt" : { + "_admin" : "Admin has access to all APIs", + "admin" : { + "key" : "My Secret" + }, + "_user" : "User only has access to /volumes endpoint", + "user" : { + "key" : "My Secret" + } + }, + + "_glusterfs_comment": "GlusterFS Configuration", + "glusterfs" : { + + "_executor_comment": "Execute plugin. Possible choices: mock, kubernetes, ssh", + "executor" : "{{ glusterfs_heketi_executor }}", + + "_db_comment": "Database file name", + "db" : "/var/lib/heketi/heketi.db", + + "sshexec" : { + "keyfile" : "/etc/heketi/private_key", + "port" : "{{ glusterfs_heketi_ssh_port }}", + "user" : "{{ glusterfs_heketi_ssh_user }}", + "sudo" : {{ glusterfs_heketi_ssh_sudo | lower }} + } + } +} |