diff --git a/config_handler/api_config.go b/config_handler/api_config.go index b9455bf..8b6801d 100644 --- a/config_handler/api_config.go +++ b/config_handler/api_config.go @@ -24,10 +24,13 @@ func (a Api) toDestinationConfig(nameSpace string, deployEnv consts.Env, service handler = go_handler.GoApiHandler{ NameSpace: nameSpace, Name: a.Name, + AliasName: a.AliasName, Root: a.Root, Port: a.Port, - DeployEnv: deployEnv, + Host: a.Host, + Path: a.Path, ServiceEnv: serviceEnv, + DeployEnv: deployEnv, } } diff --git a/config_handler/service_config.go b/config_handler/service_config.go index fc055f4..2e7997f 100644 --- a/config_handler/service_config.go +++ b/config_handler/service_config.go @@ -24,10 +24,11 @@ func (s Service) toDestinationConfig(nameSpace string, deployEnv consts.Env, ser handler = go_handler.GoServiceHandler{ NameSpace: nameSpace, Name: s.Name, + AliasName: s.AliasName, Root: s.Root, Port: s.Port, - DeployEnv: deployEnv, ServiceEnv: serviceEnv, + DeployEnv: deployEnv, } } diff --git a/go_handler/go_handler_template/go_api_test_pipeline.go b/go_handler/go_handler_template/go_api_test_pipeline.go index 38a196a..1eaca8e 100644 --- a/go_handler/go_handler_template/go_api_test_pipeline.go +++ b/go_handler/go_handler_template/go_api_test_pipeline.go @@ -33,7 +33,7 @@ steps: kube_certificate: from_secret: kubernetes_cert_test chart: ./{{ .Root }}/deploy - release: api-{{ .Name }} + release: api-{{ .Name }}-test wait: true namespace: {{ .NameSpace }} values: diff --git a/go_handler/go_handler_template/go_service_test_pipeline.go b/go_handler/go_handler_template/go_service_test_pipeline.go index 66bec98..667f048 100644 --- a/go_handler/go_handler_template/go_service_test_pipeline.go +++ b/go_handler/go_handler_template/go_service_test_pipeline.go @@ -33,7 +33,7 @@ steps: kube_certificate: from_secret: kubernetes_cert_test chart: ./{{ .Root }}/deploy - release: service-{{ .Name }} + release: service-{{ .Name }}-test wait: true namespace: {{ .NameSpace }} values: