mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-15 04:57:56 +00:00
test/e2e: drop host-usr-src mount
Allows running e2e-tests in some more restricted environments.
This commit is contained in:
parent
a193098513
commit
fd0b812433
1 changed files with 0 additions and 14 deletions
|
@ -296,11 +296,6 @@ func nfdWorkerSpec(opts ...SpecOption) *corev1.PodSpec {
|
||||||
MountPath: "/host-usr/lib",
|
MountPath: "/host-usr/lib",
|
||||||
ReadOnly: true,
|
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),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue