Skip to content

Commit

Permalink
feat: active deadline seconds support (#273)
Browse files Browse the repository at this point in the history
Signed-off-by: chenk <[email protected]>
  • Loading branch information
chen-keinan authored Dec 25, 2023
1 parent 0ba3a57 commit 09ea266
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/jobs/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func (jb *jobCollector) ApplyAndCollect(ctx context.Context, nodeName string) (s
WithAnnotation(jb.annotation),
WithJobServiceAccount(serviceAccount),
WithLabels(jb.labels),
WithJobTimeout(jb.timeout),
WithJobTimeout(jb.collectorTimeout),
withSecurityContext(jb.securityContext),
withPodSecurityContext(jb.podSecurityContext),
WithNodeCollectorImageRef(jb.imageRef),
Expand Down Expand Up @@ -291,7 +291,7 @@ func (jb *jobCollector) Apply(ctx context.Context, nodeName string) (*batchv1.Jo
WithTolerations(jb.tolerations),
WithJobServiceAccount(jb.serviceAccount),
WithNodeSelector(nodeName),
WithJobTimeout(jb.timeout),
WithJobTimeout(jb.collectorTimeout),
WithNodeCollectorImageRef(jb.imageRef),
WithAnnotation(jb.annotation),
WithTemplate(jb.templateName),
Expand Down

0 comments on commit 09ea266

Please sign in to comment.