-
Notifications
You must be signed in to change notification settings - Fork 23
/
config.yorc.json
58 lines (58 loc) · 1.61 KB
/
config.yorc.json
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"working_directory": "work",
"plugins_directory": "plugins",
"workers_number": 3,
"server_graceful_shutdown_timeout": "5m",
"wf_step_graceful_termination_timeout": "2m",
"http_port": 8800,
"http_address": "0.0.0.0",
"resources_prefix": "yorc-",
"disable_ssh_agent": false,
"locations": [
{"name": "location1",
"type": "openstack",
"properties": {
"auth_url": "http://openstack:5000/v2.0",
"tenant_name": "Tname",
"tenant_id": "use_tid_or_tname",
"user_name": "{{with (secret \"/secret/yorc/mysecret\").Raw}}{{.Data.value}}{{end}}",
"password": "{{secret \"/secret/yorc/mysecret\" \"data=value\" | print}}",
"region": "RegionOne",
"private_network_name": "private-test",
"public_network_name": "not_supported",
"os_default_security_groups": ["default", "lax"]
}
},
{"name": "location2",
"type": "kubernetes",
"properties": {
"master_url": "https://kube:6443",
"cert_file": "/etc/pki/yorc/k8s-client.crt",
"key_file": "/etc/pki/yorc/k8s-client.key",
"ca_file": "/etc/pki/yorc/k8s-ca.crt"
}
},
{"name": "location3",
"type": "aws",
"properties": {
"region": "us-east-2"
}
},
{"name": "location4",
"type": "slurm",
"properties": {
"user_name": "benoists",
"password": "changeme",
"name": "slurm",
"url": "10.197.80.20",
"port": 22,
"default_job_name": "SBE"
}
}
],
"ansible": {
"use_openssh": true,
"cache_facts": true,
"archive_artifacts": true
}
}