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:
parent
d957a9e4fb
commit
261ab113bf
1 changed files with 0 additions and 14 deletions
|
@ -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{
|
||||
|
|
Loading…
Add table
Reference in a new issue