homeassistant serial port

Signed-off-by: Michael Thomson <michael@michaelthomson.dev>
This commit is contained in:
2024-10-15 18:25:52 -04:00
parent 63c3ad31df
commit 4ce6145c01

View File

@@ -12,6 +12,7 @@ spec:
labels:
app: homeassistant
spec:
nodeName: patrick
containers:
- name: homeassistant
image: lscr.io/linuxserver/homeassistant:latest
@@ -28,6 +29,8 @@ spec:
volumeMounts:
- name: config
mountPath: /config
- name: dev-serial
mountPath: /dev/serial
securityContext:
privileged: true
capabilities:
@@ -62,3 +65,6 @@ spec:
- name: config
persistentVolumeClaim:
claimName: homeassistant-config
- name: dev-serial
hostPath:
path: /dev/serial