Naposledy aktivní 1720696192

jarno's Avatar jarno revidoval tento gist 1720696192. Přejít na revizi

1 file changed, 3 insertions, 3 deletions

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:

jarno's Avatar jarno revidoval tento gist 1720696081. Přejít na revizi

1 file changed, 6 insertions, 6 deletions

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: {}

jarno's Avatar jarno revidoval tento gist 1720693516. Přejít na revizi

1 file changed, 3 insertions, 3 deletions

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

jarno's Avatar jarno revidoval tento gist 1720685345. Přejít na revizi

1 file changed, 27 insertions

homeassistant.yaml(vytvořil soubor)

@@ -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: {}
Novější Starší