Skip to content

Commit

Permalink
Merge pull request #430 from buildkite/fix-workspace-volume-name-init…
Browse files Browse the repository at this point in the history
…-containers

Fix workspace volume name on init containers
  • Loading branch information
DrJosh9000 authored Nov 19, 2024
2 parents 09c2a28 + f5f1694 commit 4df2c6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/controller/scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ func (w *worker) Build(podSpec *corev1.PodSpec, skipCheckout bool, inputs buildI
"/workspace",
},
VolumeMounts: []corev1.VolumeMount{{
Name: "workspace",
Name: workspaceVolume.Name,
MountPath: "/workspace",
}},
},
Expand Down Expand Up @@ -624,7 +624,7 @@ func (w *worker) Build(podSpec *corev1.PodSpec, skipCheckout bool, inputs buildI
Command: []string{"/workspace/tini-static"},
Args: []string{"--version"},
VolumeMounts: []corev1.VolumeMount{{
Name: "workspace",
Name: workspaceVolume.Name,
MountPath: "/workspace",
}},
})
Expand Down

0 comments on commit 4df2c6e

Please sign in to comment.