Test
This commit is contained in:
parent
2925b1615c
commit
e46278a766
@ -37,7 +37,7 @@ func newService(s *runtime.Service, c runtime.CreateOptions) *service {
|
|||||||
if len(s.Source) > 0 {
|
if len(s.Source) > 0 {
|
||||||
for i := range kdeploy.Spec.Template.PodSpec.Containers {
|
for i := range kdeploy.Spec.Template.PodSpec.Containers {
|
||||||
kdeploy.Spec.Template.PodSpec.Containers[i].Image = s.Source
|
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}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user