runtime/kubernetes: remove reference to runtime cells (#1814)

This commit is contained in:
ben-toogood 2020-07-09 20:21:34 +01:00 committed by GitHub
parent 318a80f824
commit 3480e0a64e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,9 +66,6 @@ func newService(s *runtime.Service, c runtime.CreateOptions) *service {
kdeploy.Spec.Template.PodSpec.Containers[i].Command = []string{} kdeploy.Spec.Template.PodSpec.Containers[i].Command = []string{}
kdeploy.Spec.Template.PodSpec.Containers[i].Args = []string{} kdeploy.Spec.Template.PodSpec.Containers[i].Args = []string{}
} }
} else {
// use the default image (micro/cell:go), passing the source as the first argument
kdeploy.Spec.Template.PodSpec.Containers[0].Args = []string{s.Source}
} }
// define the environment values used by the container // define the environment values used by the container