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