summaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/dcaemod/compspec_with_config_volume.jinja
diff options
context:
space:
mode:
Diffstat (limited to 'robot/assets/templates/dcaemod/compspec_with_config_volume.jinja')
-rw-r--r--robot/assets/templates/dcaemod/compspec_with_config_volume.jinja23
1 files changed, 17 insertions, 6 deletions
diff --git a/robot/assets/templates/dcaemod/compspec_with_config_volume.jinja b/robot/assets/templates/dcaemod/compspec_with_config_volume.jinja
index 80feec55..958decd9 100644
--- a/robot/assets/templates/dcaemod/compspec_with_config_volume.jinja
+++ b/robot/assets/templates/dcaemod/compspec_with_config_volume.jinja
@@ -16,12 +16,23 @@
},
"parameters": [],
"auxilary": {
- "healthcheck": {
- "type": "docker",
- "interval": "45s",
- "timeout": "15s",
- "script": "service nginx status"
- },
+ "helm": {
+ "service": {
+ "type": "ClusterIP",
+ "name": "{{comp_spec_name}}",
+ "ports": [{
+ "name": "http",
+ "port": 80
+ }]
+ }
+ },
+ "healthcheck": {
+ "type": "HTTP",
+ "interval": "45s",
+ "timeout": "15s",
+ "port": 80,
+ "endpoint": "/"
+ },
"volumes": [{
"config_volume": {
"name": "{{config_map_name}}"