homeassistant.yaml
| @@ -9,12 +9,12 @@ spec: | |||
| 9 | 9 | containers: | |
| 10 | 10 | - name: app | |
| 11 | 11 | image: ghcr.io/home-assistant/home-assistant:stable | |
| 12 | - | volumeMounts: | |
| 13 | - | - mountPath: /config | |
| 14 | - | name: hass-data | |
| 15 | 12 | env: | |
| 16 | 13 | - name: TZ | |
| 17 | 14 | value: Etc/UTC | |
| 15 | + | volumeMounts: | |
| 16 | + | - mountPath: /config | |
| 17 | + | name: hass-data | |
| 18 | 18 | resources: {} | |
| 19 | 19 | volumes: | |
| 20 | 20 | - hostPath: | |
homeassistant.yaml
| @@ -9,19 +9,19 @@ spec: | |||
| 9 | 9 | containers: | |
| 10 | 10 | - name: app | |
| 11 | 11 | image: ghcr.io/home-assistant/home-assistant:stable | |
| 12 | + | volumeMounts: | |
| 13 | + | - mountPath: /config | |
| 14 | + | name: hass-data | |
| 12 | 15 | env: | |
| 13 | 16 | - name: TZ | |
| 14 | 17 | value: Etc/UTC | |
| 15 | 18 | resources: {} | |
| 16 | - | volumeMounts: | |
| 17 | - | - mountPath: /config | |
| 18 | - | name: hass-data | |
| 19 | - | hostNetwork: true | |
| 20 | - | hostname: homeassistant.home.arpa | |
| 21 | - | restartPolicy: Never | |
| 22 | 19 | volumes: | |
| 23 | 20 | - hostPath: | |
| 24 | 21 | path: /path/to/homeassistant/data | |
| 25 | 22 | type: Directory | |
| 26 | 23 | name: hass-data | |
| 24 | + | hostNetwork: true | |
| 25 | + | hostname: homeassistant.home.arpa | |
| 26 | + | restartPolicy: Never | |
| 27 | 27 | status: {} | |
homeassistant.yaml
| @@ -7,11 +7,11 @@ metadata: | |||
| 7 | 7 | name: homeassistant | |
| 8 | 8 | spec: | |
| 9 | 9 | containers: | |
| 10 | - | - env: | |
| 10 | + | - name: app | |
| 11 | + | image: ghcr.io/home-assistant/home-assistant:stable | |
| 12 | + | env: | |
| 11 | 13 | - name: TZ | |
| 12 | 14 | value: Etc/UTC | |
| 13 | - | image: ghcr.io/home-assistant/home-assistant:stable | |
| 14 | - | name: app | |
| 15 | 15 | resources: {} | |
| 16 | 16 | volumeMounts: | |
| 17 | 17 | - mountPath: /config | |
homeassistant.yaml(file created)
| @@ -0,0 +1,27 @@ | |||
| 1 | + | apiVersion: v1 | |
| 2 | + | kind: Pod | |
| 3 | + | metadata: | |
| 4 | + | annotations: | |
| 5 | + | labels: | |
| 6 | + | app: homeassistant | |
| 7 | + | name: homeassistant | |
| 8 | + | spec: | |
| 9 | + | containers: | |
| 10 | + | - env: | |
| 11 | + | - name: TZ | |
| 12 | + | value: Etc/UTC | |
| 13 | + | image: ghcr.io/home-assistant/home-assistant:stable | |
| 14 | + | name: app | |
| 15 | + | resources: {} | |
| 16 | + | volumeMounts: | |
| 17 | + | - mountPath: /config | |
| 18 | + | name: hass-data | |
| 19 | + | hostNetwork: true | |
| 20 | + | hostname: homeassistant.home.arpa | |
| 21 | + | restartPolicy: Never | |
| 22 | + | volumes: | |
| 23 | + | - hostPath: | |
| 24 | + | path: /path/to/homeassistant/data | |
| 25 | + | type: Directory | |
| 26 | + | name: hass-data | |
| 27 | + | status: {} | |