diff --git a/test/e2e/node_feature_discovery.go b/test/e2e/node_feature_discovery.go index b7cdd6bb4..d88b116ef 100644 --- a/test/e2e/node_feature_discovery.go +++ b/test/e2e/node_feature_discovery.go @@ -323,6 +323,11 @@ 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", @@ -349,6 +354,15 @@ 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{