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"