Skip to content

Commit 5eefc6d

Browse files
authored
fix: add hostType for TFDataPath (#240)
1 parent 7d147df commit 5eefc6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/worker/worker.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ func (wg *WorkerGenerator) GenerateWorkerPod(
7979
VolumeSource: corev1.VolumeSource{
8080
HostPath: &corev1.HostPathVolumeSource{
8181
Path: constants.TFDataPath,
82+
Type: ptr.To(corev1.HostPathDirectoryOrCreate),
8283
},
8384
},
8485
})

0 commit comments

Comments
 (0)