Hassio/manifests/deployment.yaml

27 lines
575 B
YAML

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
volumes:
- name: hassio-storage
hostPath:
path: "/mnt/hassio/data"