fix(generator): use args and command
Common mistake... - Docker and Podman uses "command" as argument to "entrypoint" - Kubernetes uses "command" as entrypoint and "args" as argument So, we needed to use Command and Args in all related objects. Fixes #163
This commit is contained in:
@@ -83,9 +83,7 @@ func NewCronJob(service types.ServiceConfig, chart *HelmChart, appName string) (
|
||||
{
|
||||
Name: "cronjob",
|
||||
Image: "{{ .Values." + service.Name + ".cronjob.repository.image }}:{{ default .Values." + service.Name + ".cronjob.repository.tag \"latest\" }}",
|
||||
Command: []string{
|
||||
"sh",
|
||||
"-c",
|
||||
Args: []string{
|
||||
mapping.Command,
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user