Skip to content

Commit

Permalink
Fix workspace volume name on init containers
Browse files Browse the repository at this point in the history
  • Loading branch information
DrJosh9000 committed Nov 19, 2024
1 parent 09c2a28 commit f5f1694
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 f5f1694

Please sign in to comment.