introduced volume mounts for buildkitd socket
This commit is contained in:
parent
e1c5257388
commit
db92c0d3d5
1 changed files with 6 additions and 4 deletions
|
|
@ -163,14 +163,15 @@ func GetPodSpec(gitHubScope GitHubScopeDetails, bootstrapParams params.Bootstrap
|
|||
Env: envs,
|
||||
VolumeMounts: []corev1.VolumeMount{
|
||||
{
|
||||
Name: "buildkitd-deamon",
|
||||
Name: "buildkitd",
|
||||
MountPath: "/run/user/1000/buildkit",
|
||||
SubPath: "buildkitd.sock",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
Name: "buildkitd",
|
||||
Image: "moby/buildkit:buildx-stable-1-rootless",
|
||||
Image: "moby/buildkit:v0.25.1-rootless",
|
||||
Args: []string{
|
||||
"--allow-insecure-entitlement=network.host",
|
||||
"--oci-worker-no-process-sandbox",
|
||||
|
|
@ -193,15 +194,16 @@ func GetPodSpec(gitHubScope GitHubScopeDetails, bootstrapParams params.Bootstrap
|
|||
},
|
||||
VolumeMounts: []corev1.VolumeMount{
|
||||
{
|
||||
Name: "buildkitd-deamon",
|
||||
Name: "buildkitd",
|
||||
MountPath: "/run/user/1000/buildkit",
|
||||
SubPath: "buildkitd.sock",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
Volumes: []corev1.Volume{
|
||||
{
|
||||
Name: "buildkitd-deamon",
|
||||
Name: "buildkitd",
|
||||
VolumeSource: corev1.VolumeSource{
|
||||
EmptyDir: &corev1.EmptyDirVolumeSource{},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue