Skip to content

Commit

Permalink
Set Funnel K8s worker to always use 'development' tag
Browse files Browse the repository at this point in the history
- TODO: Revisit whether this should be configurable
  • Loading branch information
lbeckman314 committed Oct 22, 2024
1 parent 8ce2930 commit 2531a4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config/kubernetes-executor-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ spec:
serviceAccountName: {{.ServiceAccount}}
containers:
- name: funnel-worker-{{.TaskId}}
image: {{.Image}}
# TODO: Should this be configurable?
image: development
imagePullPolicy: Always
command: ["/bin/sh", "-c"]
args: {{.Command}}
Expand Down
1 change: 0 additions & 1 deletion worker/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ func (kcmd KubernetesCommand) Run(ctx context.Context) error {
"TaskId": taskId,
"JobId": kcmd.JobId,
"Namespace": kcmd.Namespace,
"Image": kcmd.Image,
"Command": command,
"Workdir": kcmd.Workdir,
"Volumes": kcmd.Volumes,
Expand Down

0 comments on commit 2531a4b

Please sign in to comment.