Arg => Args
This commit is contained in:
parent
48b9f3f5e9
commit
0591760932
@ -38,7 +38,7 @@ func newService(s *runtime.Service, c runtime.CreateOptions) *service {
|
||||
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{}
|
||||
kdeploy.Spec.Template.PodSpec.Containers[i].Arg = []string{name}
|
||||
kdeploy.Spec.Template.PodSpec.Containers[i].Args = []string{name}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -20,7 +20,7 @@ type Container struct {
|
||||
Image string `json:"image"`
|
||||
Env []EnvVar `json:"env,omitempty"`
|
||||
Command []string `json:"command,omitempty"`
|
||||
Arg []string `json:"arg,omitempty"`
|
||||
Args []string `json:"args,omitempty"`
|
||||
Ports []ContainerPort `json:"ports,omitempty"`
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user