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{
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,
}
}

View File

@ -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,
}
}

View File

@ -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:

View File

@ -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: