mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 13:09:53 +00:00
homeassistant serial port
Signed-off-by: Michael Thomson <michael@michaelthomson.dev>
This commit is contained in:
@@ -12,6 +12,7 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: homeassistant
|
app: homeassistant
|
||||||
spec:
|
spec:
|
||||||
|
nodeName: patrick
|
||||||
containers:
|
containers:
|
||||||
- name: homeassistant
|
- name: homeassistant
|
||||||
image: lscr.io/linuxserver/homeassistant:latest
|
image: lscr.io/linuxserver/homeassistant:latest
|
||||||
@@ -28,6 +29,8 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
|
- name: dev-serial
|
||||||
|
mountPath: /dev/serial
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
capabilities:
|
capabilities:
|
||||||
@@ -62,3 +65,6 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: homeassistant-config
|
claimName: homeassistant-config
|
||||||
|
- name: dev-serial
|
||||||
|
hostPath:
|
||||||
|
path: /dev/serial
|
||||||
|
|||||||
Reference in New Issue
Block a user