1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-06 08:16:03 +02:00
This commit is contained in:
Ben Toogood 2020-02-06 11:24:56 +00:00
parent 2925b1615c
commit e46278a766

View File

@ -37,7 +37,7 @@ func newService(s *runtime.Service, c runtime.CreateOptions) *service {
if len(s.Source) > 0 {
for i := range kdeploy.Spec.Template.PodSpec.Containers {
kdeploy.Spec.Template.PodSpec.Containers[i].Image = s.Source
kdeploy.Spec.Template.PodSpec.Containers[i].Command = []string{name}
kdeploy.Spec.Template.PodSpec.Containers[i].Command = []string{"./entrypoint.sh", name}
}
}