k43D/hass/homeass.yml
2023-07-29 16:13:47 +02:00

29 lines
559 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: hass
labels:
app: hass
spec:
replicas: 1
selector:
matchLabels:
app: hass
template:
metadata:
labels:
app: hass
spec:
containers:
- name: hass
image: homeassistant/home-assistant:stable
ports:
- containerPort: 8123
volumeMounts:
- name: datadiskhass
mountPath: "/config"
volumes:
- name: datadiskhass
persistentVolumeClaim:
claimName: poddata