[HV-VES] Improve hv-ves suite
[testsuite.git] / robot / assets / templates / dcaemod / compspec_with_config_volume.jinja
1 {"owner": "owner-name", "spec":
2 {
3   "self": {
4     "version": "1.0.0",
5     "name": "{{comp_spec_name}}",
6     "description": "Dummy DCAE app with config volume",
7     "component_type": "docker"
8   },
9   "streams": {
10     "subscribes": [],
11     "publishes": []
12   },
13   "services": {
14     "calls": [],
15     "provides": []
16   },
17   "parameters": [],
18   "auxilary": {
19     "helm": {
20       "service": {
21       "type": "ClusterIP",
22       "name": "{{comp_spec_name}}",
23       "ports": [{
24         "name": "http",
25         "port": 80
26          }]
27        }
28      },
29     "healthcheck": {
30       "type": "HTTP",
31       "interval": "45s",
32       "timeout": "15s",
33       "port": 80,
34       "endpoint": "/"
35     },
36       "volumes": [{
37         "config_volume": {
38           "name": "{{config_map_name}}"
39         },
40         "container": {
41           "bind": "{{volume_mount_path}}"
42         }
43       }],
44       "ports": [
45         "80:0",
46         "99:0"
47       ],
48       "tls_info":{
49           "cert_directory":"/opt/app/dcae-certificate/",
50           "use_tls": false,
51           "use_external_tls": false
52        }
53     },
54   "artifacts": [
55     {
56       "type": "docker image",
57       "uri": "docker.io/nginx:latest"
58     }
59   ]
60 }
61 }