Skip to content

Commit

Permalink
fix: delete preemption policy setup
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 committed Aug 13, 2024
1 parent 2a98b47 commit d7bdcd7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/testworkflows/testworkflowprocessor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,6 @@ func (p *processor) Bundle(ctx context.Context, workflow *testworkflowsv1.TestWo
if podConfig.SecurityContext.FSGroup == nil {
podConfig.SecurityContext.FSGroup = common.Ptr(constants.DefaultFsGroup)
}
if podConfig.PreemptionPolicy == nil {
podConfig.PreemptionPolicy = common.Ptr(corev1.PreemptNever)
}
podSpec := corev1.PodTemplateSpec{
ObjectMeta: metav1.ObjectMeta{
Annotations: podConfig.Annotations,
Expand Down

0 comments on commit d7bdcd7

Please sign in to comment.