fix: fix host aliasName path
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
287eb69266
commit
225c65e174
|
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue