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

Merge pull request #644 from marquiz/devel/e2e-boot-mount

test/e2e: drop /boot mount
This commit is contained in:
Kubernetes Prow Robot 2021-11-10 11:13:27 -08:00 committed by GitHub
commit 67330e1441
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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{