-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelm-release.yaml
More file actions
89 lines (89 loc) · 2.2 KB
/
helm-release.yaml
File metadata and controls
89 lines (89 loc) · 2.2 KB
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
79
80
81
82
83
84
85
86
87
88
89
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: home-assistant
namespace: home
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 4.2.0
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
interval: 30m
install:
createNamespace: true
values:
defaultPodOptions:
hostNetwork: true
controllers:
home-assistant:
containers:
app:
image:
repository: ghcr.io/home-assistant/home-assistant
tag: 2026.2.2
pullPolicy: IfNotPresent
env:
TZ: "${TZ}"
resources:
requests:
cpu: 100m
memory: 100Mi
limits:
memory: 1000Mi
# Bluethooth
securityContext:
capabilities:
add:
- NET_ADMIN
- NET_RAW
- SYS_ADMIN
privileged: true
service:
app:
enabled: true
type: LoadBalancer
controller: home-assistant
externalTrafficPolicy: Local
annotations:
metallb.universe.tf/loadBalancerIPs: "${METALLB_HOME_ASSISTANT_ADDR}"
ports:
http:
port: 8123
ingress:
app:
className: "external"
annotations:
external-dns/is-public: "true"
external-dns.alpha.kubernetes.io/target: "ipv4.${SECRET_DOMAIN}"
external-dns.alpha.kubernetes.io/cloudflare-proxied: "false"
hosts:
- host: &host "home-assistant.${SECRET_DOMAIN}"
paths:
- path: /
pathType: Prefix
service:
identifier: app
port: http
tls:
- hosts:
- *host
persistence:
config:
enabled: true
type: hostPath
hostPathType: "DirectoryOrCreate"
hostPath: /home/elraro/home-ops/volumes/home-assistant/config
globalMounts:
- path: /config
resources:
requests:
cpu: 100m
memory: 100Mi
limits:
memory: 1000Mi