Compare commits

...

2 Commits

Author SHA1 Message Date
Martyn 89f582b6a1 Unintentional vendoring
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-02-21 14:46:02 +00:00
Martyn 9ce01b80d7 Make the gpus selectable
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2024-02-21 14:45:29 +00:00
1 changed files with 9 additions and 4 deletions

View File

@ -25,7 +25,8 @@ patches:
path: /data/nfd-worker.conf path: /data/nfd-worker.conf
value: |- value: |-
core: core:
sources: ["custom", "pci", "usb"] sources:
- "all"
sources: sources:
usb: usb:
deviceClassWhitelist: deviceClassWhitelist:
@ -48,6 +49,10 @@ patches:
- "subsystem_device" - "subsystem_device"
custom: custom:
- name: "intel-gpu" # Intel integrated GPU - name: "intel-gpu" # Intel integrated GPU
matchOn: labels:
- pciId: "intel.feature.node.kubernetes.io/gpu": "true"
class: ["0300"] matchFeatures:
- feature: pci.device
matchExpressions:
class: {op: In, value: ["0300"]}
vendor: {op: In, value: ["8086"]}