-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhome-assistant.yaml
78 lines (76 loc) · 1.69 KB
/
home-assistant.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
helm:
repo: https://bjw-s.github.io/helm-charts
chart: app-template
version: 3.5.0
backup:
pvc: "home-assistant-config"
values:
controller:
type: statefulset
image:
repository: ghcr.io/home-assistant/home-assistant
tag: 2024.8.1
service:
main:
ports:
http:
port: 8123
ingress:
main:
enabled: true
ingressClassName: traefik
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
cert-manager.io/cluster-issuer: letsencrypt-production
hosts:
- host: hass.${SECRET_DOMAIN}
paths:
- path: /
pathType: Prefix
tls:
- secretName: hass-tls
hosts:
- hass.${SECRET_DOMAIN}
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi
persistence:
config:
enabled: true
mountPath: /config
size: 10Gi
addons:
codeserver:
enabled: true
image:
repository: codercom/code-server
tag: 4.91.1
workingDir: "/config"
args:
- --auth
- "none"
- --user-data-dir
- "/config/.vscode"
- --extensions-dir
- "/config/.vscode"
ingress:
enabled: true
ingressClassName: "traefik"
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
hosts:
- host: "hass-config.${SECRET_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- "hass-config.${SECRET_DOMAIN}"
volumeMounts:
- name: config
mountPath: /config