feat: add rflink to hass

This commit is contained in:
auricom
2021-05-21 23:35:58 +02:00
parent 5c865a3390
commit 37e398cfc6
2 changed files with 24 additions and 0 deletions

View File

@@ -70,6 +70,14 @@ spec:
config: config:
enabled: true enabled: true
existingClaim: hass-config existingClaim: hass-config
additionalVolumeMounts:
- name: usb
mountPath: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_5503731323735171A241-if00
additionalVolumes:
- name: usb
hostPath:
path: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_5503731323735171A241-if00
type: CharDevice
addons: addons:
codeserver: codeserver:
enabled: true enabled: true
@@ -107,3 +115,13 @@ spec:
memory: 1000Mi memory: 1000Mi
postgresql: postgresql:
enabled: false enabled: false
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: "coral-tpu" - name: "coral-tpu"
matchOn: matchOn:
- usbId: - usbId: