Skip to content

Commit 1081c1c

Browse files
committed
chore: remove redundant MTC volumes from pathways template
MTC volumes are dynamically generated by storage.go and injected into VolumeMountsYAML and VolumesYAML for both pathways and non-pathways jobs. The sidecar initContainer still uses hardcoded mounts as it intentionally bypasses the global VolumeMountsYAML block.
1 parent 56d9b64 commit 1081c1c

4 files changed

Lines changed: 3 additions & 398 deletions

File tree

pathways_jobset.tmpl.orig

Lines changed: 0 additions & 382 deletions
This file was deleted.

pkg/orchestrator/gke/gke_job_orchestrator_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,8 @@ func TestGeneratePathwaysManifest_MTC(t *testing.T) {
536536
GCSLocation: "gs://my-bucket",
537537
HeadNodePool: "pathways-np",
538538
},
539-
MTCEnabled: true,
539+
IsPathwaysJob: true,
540+
MTCEnabled: true,
540541
}
541542

542543
mockResponses := map[string][]shell.CommandResult{

0 commit comments

Comments
 (0)