summaryrefslogtreecommitdiffstats
path: root/roles/openshift_storage_glusterfs/templates/v3.6/heketi.json.j2
blob: 579b11bb71479eabc3213eb3b753a44d29139fba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 }}
		}
	}
}