2023-05-07 11:57:58 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: homeassistant
|
|
|
|
name: homeassistant
|
|
|
|
namespace: home-automation
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: homeassistant
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: homeassistant
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: homeassistant
|
|
|
|
image: ghcr.io/home-assistant/home-assistant:stable
|
|
|
|
volumeMounts:
|
|
|
|
- mountPath: "/config"
|
|
|
|
name: hassio-storage
|
2023-05-07 12:08:09 +00:00
|
|
|
volumes:
|
|
|
|
- name: hassio-storage
|
|
|
|
hostPath:
|
|
|
|
path: "/mnt/hassio/data"
|