Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Kreuzberger <[email protected]>
  • Loading branch information
christian-kreuzberger-dtx committed Jul 8, 2022
1 parent f4073cc commit a4ea06a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/k8sutils/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,10 @@ func (k8s *K8sImpl) CreateK8sJob(
// TODO configure from outside:
jobVolumeMountPath := "/keptn"

quantity := resource.MustParse(jobSettings.JobEmtpyDirVolumeSizeLimit)
quantity := resource.MustParse("20Mi")
if jobSettings.JobEmtpyDirVolumeSizeLimit != "" {
quantity = resource.MustParse(jobSettings.JobEmtpyDirVolumeSizeLimit)
}

jobResourceRequirements := jobSettings.DefaultResourceRequirements
if task.Resources != nil {
Expand Down

0 comments on commit a4ea06a

Please sign in to comment.