mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-30 19:54:46 +00:00
parent
99d3251c42
commit
f7b2bcc457
1 changed files with 14 additions and 0 deletions
|
@ -323,6 +323,11 @@ func nfdWorkerPodSpec(image string, extraArgs []string) v1.PodSpec {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
VolumeMounts: []v1.VolumeMount{
|
VolumeMounts: []v1.VolumeMount{
|
||||||
|
{
|
||||||
|
Name: "host-boot",
|
||||||
|
MountPath: "/host-boot",
|
||||||
|
ReadOnly: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
Name: "host-os-release",
|
Name: "host-os-release",
|
||||||
MountPath: "/host-etc/os-release",
|
MountPath: "/host-etc/os-release",
|
||||||
|
@ -349,6 +354,15 @@ func nfdWorkerPodSpec(image string, extraArgs []string) v1.PodSpec {
|
||||||
ServiceAccountName: "nfd-master-e2e",
|
ServiceAccountName: "nfd-master-e2e",
|
||||||
DNSPolicy: v1.DNSClusterFirstWithHostNet,
|
DNSPolicy: v1.DNSClusterFirstWithHostNet,
|
||||||
Volumes: []v1.Volume{
|
Volumes: []v1.Volume{
|
||||||
|
{
|
||||||
|
Name: "host-boot",
|
||||||
|
VolumeSource: v1.VolumeSource{
|
||||||
|
HostPath: &v1.HostPathVolumeSource{
|
||||||
|
Path: "/boot",
|
||||||
|
Type: newHostPathType(v1.HostPathDirectory),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
Name: "host-os-release",
|
Name: "host-os-release",
|
||||||
VolumeSource: v1.VolumeSource{
|
VolumeSource: v1.VolumeSource{
|
||||||
|
|
Loading…
Add table
Reference in a new issue