Skip to content

Commit

Permalink
fix: job generator missing pod restartPolicy issue (#658)
Browse files Browse the repository at this point in the history
  • Loading branch information
adohe committed Dec 6, 2023
1 parent f4d08f2 commit df5aa5a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/modules/generators/workload/job_generator.go
Expand Up @@ -98,8 +98,9 @@ func (g *jobGenerator) Generate(spec *intent.Intent) error {
),
},
Spec: corev1.PodSpec{
Containers: containers,
Volumes: volumes,
Containers: containers,
RestartPolicy: corev1.RestartPolicyNever,
Volumes: volumes,
},
},
}
Expand Down

0 comments on commit df5aa5a

Please sign in to comment.