feat: add rflink to home-assistant

This commit is contained in:
auricom
2021-04-25 17:54:53 +02:00
parent a617387d36
commit e512f61da5
2 changed files with 19 additions and 0 deletions

View File

@@ -103,3 +103,16 @@ spec:
memory: 1000Mi memory: 1000Mi
postgresql: postgresql:
enabled: false enabled: false
additionalVolumeMounts:
- name: usb
mountPath: /dev/serial/by-id/usb-2341_0042-if00
additionalVolumes:
- name: usb
hostPath:
path: /dev/serial/by-id/usb-2341_0042-if00
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- { key: "feature.node.kubernetes.io/custom-rflink", operator: In, values: ["true"] }

View File

@@ -65,6 +65,12 @@ spec:
class: ["ff"] class: ["ff"]
vendor: ["1a86"] vendor: ["1a86"]
device: ["7523"] device: ["7523"]
- name: "rflink"
matchOn:
- usbId:
class: ["02"]
vendor: ["2341"]
device: ["0042"]
- name: "intel-gpu" - name: "intel-gpu"
matchOn: matchOn:
- pciId: - pciId: