1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-04-15 00:36:23 +00:00

test/e2e: drop /boot mount

This is not currently needed by end-to-end tests. Dropping it enables
testing in restricted environments that don't have /boot directory.
This commit is contained in:
Markus Lehtonen 2021-11-10 20:56:00 +02:00
parent d957a9e4fb
commit 261ab113bf

View file

@ -323,11 +323,6 @@ func nfdWorkerPodSpec(image string, extraArgs []string) v1.PodSpec {
},
},
VolumeMounts: []v1.VolumeMount{
{
Name: "host-boot",
MountPath: "/host-boot",
ReadOnly: true,
},
{
Name: "host-os-release",
MountPath: "/host-etc/os-release",
@ -354,15 +349,6 @@ func nfdWorkerPodSpec(image string, extraArgs []string) v1.PodSpec {
ServiceAccountName: "nfd-master-e2e",
DNSPolicy: v1.DNSClusterFirstWithHostNet,
Volumes: []v1.Volume{
{
Name: "host-boot",
VolumeSource: v1.VolumeSource{
HostPath: &v1.HostPathVolumeSource{
Path: "/boot",
Type: newHostPathType(v1.HostPathDirectory),
},
},
},
{
Name: "host-os-release",
VolumeSource: v1.VolumeSource{