From 83837dc5af3df7d89541fee2f6c933369c419c6d Mon Sep 17 00:00:00 2001 From: Krzysztof Kuzmicki Date: Wed, 23 Mar 2022 10:29:20 +0100 Subject: [ROBOT] Adopt DCAEMOD test cases to helm based deployment Adopt DCAEMOD test cases to helm based deployment Signed-off-by: Krzysztof Kuzmicki Issue-ID: INT-1895 Change-Id: Id09932899f11ab37b391709c580d681674705432 --- .../dcaemod/compspec_without_config_volume.jinja | 23 ++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'robot/assets/templates/dcaemod/compspec_without_config_volume.jinja') 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, -- cgit 1.2.3-korg