diff options
Diffstat (limited to 'robot/assets')
-rw-r--r-- | robot/assets/templates/dcaemod/compspec_with_config_volume.jinja | 23 | ||||
-rw-r--r-- | robot/assets/templates/dcaemod/compspec_without_config_volume.jinja | 23 |
2 files changed, 36 insertions, 10 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}}" diff --git a/robot/assets/templates/dcaemod/compspec_without_config_volume.jinja b/robot/assets/templates/dcaemod/compspec_without_config_volume.jinja index 45ac97fb..361a9934 100644 --- a/robot/assets/templates/dcaemod/compspec_without_config_volume.jinja +++ b/robot/assets/templates/dcaemod/compspec_without_config_volume.jinja @@ -16,16 +16,31 @@ }, "parameters": [], "auxilary": { + "helm": { + "service": { + "type": "ClusterIP", + "name": "{{comp_spec_name}}", + "ports": [{ + "name": "http", + "port": 80 + }] + } + }, "healthcheck": { - "type": "docker", - "interval": "300s", - "timeout": "120s", - "script": "service nginx status" + "type": "HTTP", + "interval": "45s", + "timeout": "15s", + "port": 80, + "endpoint": "/" }, "ports": [ "80:0", "99:0" ], + "log_info": { + "log_directory": "/opt/logs/test" + }, + "tls_info":{ "cert_directory":"/opt/app/dcae-certificate/", "use_tls": false, |