diff --git a/pkg/jobs/collector.go b/pkg/jobs/collector.go index 51aa0ea..513146c 100644 --- a/pkg/jobs/collector.go +++ b/pkg/jobs/collector.go @@ -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), @@ -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),