From 5bd1dd5bbdf4bf53038c06ab3107df77619d920a Mon Sep 17 00:00:00 2001 From: Vladislav Sukhin Date: Mon, 23 Dec 2024 20:04:53 +0300 Subject: [PATCH] fix: add mapping for services for twt spec (#6102) Signed-off-by: Vladislav Sukhin --- pkg/mapper/testworkflows/kube_openapi.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/mapper/testworkflows/kube_openapi.go b/pkg/mapper/testworkflows/kube_openapi.go index f94000934d..6d56ba2fd1 100644 --- a/pkg/mapper/testworkflows/kube_openapi.go +++ b/pkg/mapper/testworkflows/kube_openapi.go @@ -1148,6 +1148,7 @@ func MapTemplateSpecKubeToAPI(v testworkflowsv1.TestWorkflowTemplateSpec) testku Config: common.MapMap(v.Config, MapParameterSchemaKubeToAPI), System: common.MapPtr(v.System, MapSystemKubeToAPI), Content: common.MapPtr(v.Content, MapContentKubeToAPI), + Services: common.MapMap(v.Services, MapIndependentServiceSpecKubeToAPI), Container: common.MapPtr(v.Container, MapContainerConfigKubeToAPI), Job: common.MapPtr(v.Job, MapJobConfigKubeToAPI), Pod: common.MapPtr(v.Pod, MapPodConfigKubeToAPI),