diff --git a/cluster/apps/home/home-assistant/helm-release.yaml b/cluster/apps/home/home-assistant/helm-release.yaml index 612855aac..3e38a09d0 100644 --- a/cluster/apps/home/home-assistant/helm-release.yaml +++ b/cluster/apps/home/home-assistant/helm-release.yaml @@ -70,6 +70,14 @@ spec: config: enabled: true 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: codeserver: enabled: true @@ -107,3 +115,13 @@ spec: memory: 1000Mi postgresql: enabled: false + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - { + key: "feature.node.kubernetes.io/custom-rflink", + operator: In, + values: ["true"], + } diff --git a/cluster/core/infrastructure/node-feature-discovery/helm-release.yaml b/cluster/core/infrastructure/node-feature-discovery/helm-release.yaml index 8757f980a..d771e5a11 100644 --- a/cluster/core/infrastructure/node-feature-discovery/helm-release.yaml +++ b/cluster/core/infrastructure/node-feature-discovery/helm-release.yaml @@ -65,6 +65,12 @@ spec: class: ["ff"] vendor: ["1a86"] device: ["7523"] + - name: "rflink" + matchOn: + - usbId: + class: ["02"] + vendor: ["2341"] + device: ["0042"] - name: "coral-tpu" matchOn: - usbId: