1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-14 20:56:42 +00:00

test/e2e: drop host-usr-src mount

Allows running e2e-tests in some more restricted environments.
This commit is contained in:
Markus Lehtonen 2022-12-15 16:46:22 +02:00
parent a193098513
commit fd0b812433

View file

@ -296,11 +296,6 @@ func nfdWorkerSpec(opts ...SpecOption) *corev1.PodSpec {
MountPath: "/host-usr/lib",
ReadOnly: true,
},
{
Name: "host-usr-src",
MountPath: "/host-usr/src",
ReadOnly: true,
},
},
},
},
@ -343,15 +338,6 @@ func nfdWorkerSpec(opts ...SpecOption) *corev1.PodSpec {
},
},
},
{
Name: "host-usr-src",
VolumeSource: corev1.VolumeSource{
HostPath: &corev1.HostPathVolumeSource{
Path: "/usr/src",
Type: newHostPathType(corev1.HostPathDirectory),
},
},
},
},
}