kubernetes: fixes for production (#1812)
* util/kubernetes/client: add secrets to deployments * util/kubernetes/client: remove ServiceAccountName override * debugging * runtime/kubernetes: fix error * runtime/kubernetes: remove test secret * util/kubernetes/client: update default image * util/kubernetes/client: remove default command for deployments * runtime/kubernetes: pass source as arg * runtime/kubernetes: remove debugging * util/kubernetes/client: revert default image change
This commit is contained in:
@@ -66,6 +66,9 @@ func newService(s *runtime.Service, c runtime.CreateOptions) *service {
|
||||
kdeploy.Spec.Template.PodSpec.Containers[i].Command = []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
|
||||
|
Reference in New Issue
Block a user