fix: fix host aliasName path
continuous-integration/drone/push Build is passing Details

master
icechen 2022-01-04 20:56:53 +08:00
parent 287eb69266
commit 225c65e174
4 changed files with 8 additions and 4 deletions

View File

@ -24,10 +24,13 @@ func (a Api) toDestinationConfig(nameSpace string, deployEnv consts.Env, service
handler = go_handler.GoApiHandler{ handler = go_handler.GoApiHandler{
NameSpace: nameSpace, NameSpace: nameSpace,
Name: a.Name, Name: a.Name,
AliasName: a.AliasName,
Root: a.Root, Root: a.Root,
Port: a.Port, Port: a.Port,
DeployEnv: deployEnv, Host: a.Host,
Path: a.Path,
ServiceEnv: serviceEnv, ServiceEnv: serviceEnv,
DeployEnv: deployEnv,
} }
} }

View File

@ -24,10 +24,11 @@ func (s Service) toDestinationConfig(nameSpace string, deployEnv consts.Env, ser
handler = go_handler.GoServiceHandler{ handler = go_handler.GoServiceHandler{
NameSpace: nameSpace, NameSpace: nameSpace,
Name: s.Name, Name: s.Name,
AliasName: s.AliasName,
Root: s.Root, Root: s.Root,
Port: s.Port, Port: s.Port,
DeployEnv: deployEnv,
ServiceEnv: serviceEnv, ServiceEnv: serviceEnv,
DeployEnv: deployEnv,
} }
} }

View File

@ -33,7 +33,7 @@ steps:
kube_certificate: kube_certificate:
from_secret: kubernetes_cert_test from_secret: kubernetes_cert_test
chart: ./{{ .Root }}/deploy chart: ./{{ .Root }}/deploy
release: api-{{ .Name }} release: api-{{ .Name }}-test
wait: true wait: true
namespace: {{ .NameSpace }} namespace: {{ .NameSpace }}
values: values:

View File

@ -33,7 +33,7 @@ steps:
kube_certificate: kube_certificate:
from_secret: kubernetes_cert_test from_secret: kubernetes_cert_test
chart: ./{{ .Root }}/deploy chart: ./{{ .Root }}/deploy
release: service-{{ .Name }} release: service-{{ .Name }}-test
wait: true wait: true
namespace: {{ .NameSpace }} namespace: {{ .NameSpace }}
values: values: