Skip to content

Commit 56d412e

Browse files
committed
ci dangling pod fix
1 parent aebe5d3 commit 56d412e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/pipeline/executors/ArgoWorkflowExecutor.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ func (impl *ArgoWorkflowExecutorImpl) ExecuteWorkflow(workflowTemplate bean.Work
152152
},
153153
Templates: templates,
154154
Volumes: workflowTemplate.Volumes,
155+
PodGC: &v1alpha1.PodGC{
156+
Strategy: v1alpha1.PodGCOnWorkflowCompletion,
157+
},
155158
},
156159
}
157160
)

0 commit comments

Comments
 (0)