homeassistant

Signed-off-by: Michael Thomson <michael@michaelthomson.dev>
This commit is contained in:
2024-10-10 15:12:34 -04:00
parent 195b668577
commit 806fb8c428
8 changed files with 123 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: homeassistant
namespace: homeassistant
spec:
selector:
matchLabels:
app: homeassistant
template:
metadata:
labels:
app: homeassistant
spec:
containers:
- name: homeassistant
image: lscr.io/linuxserver/homeassistant:latest
imagePullPolicy: Always
envFrom:
- configMapRef:
name: homeassistant-config
optional: false
ports:
- containerPort: 8123
name: http
protocol: TCP
volumeMounts:
- name: config
mountPath: /config
volumes:
- name: config
persistentVolumeClaim:
claimName: homeassistant-config