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_with_config_volume.jinja | 23 ++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'robot/assets/templates/dcaemod/compspec_with_config_volume.jinja') 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}}" -- cgit 1.2.3-korg