-
Notifications
You must be signed in to change notification settings - Fork 88
/
teslamate.yaml
69 lines (69 loc) · 1.43 KB
/
teslamate.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
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: teslamate
namespace: default
spec:
interval: 15m
chart:
spec:
chart: app-template
version: 1.5.1
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
interval: 15m
maxHistory: 3
install:
createNamespace: true
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
initContainers:
init-db:
image: ghcr.io/onedr0p/postgres-init:15.5@sha256:70b4c228f2e86de39008a35211c76c1ac6de1dcdf0e908ac09ede6a11e2344e2
envFrom:
- secretRef:
name: teslamate-secret
image:
repository: teslamate/teslamate
tag: "1.32.0"
env:
TZ: "America/New_York"
DISABLE_MQTT: "false"
MQTT_HOST: "emqx"
MQTT_USERNAME: "mqtt"
envFrom:
- secretRef:
name: teslamate-secret
service:
main:
type: ClusterIP
ports:
http:
port: 4000
ingress:
main:
enabled: true
ingressClassName: nginx-tailscale
hosts:
- host: &host teslamate.eviljungle.com
paths:
- path: /
tls:
- hosts:
- *host
resources:
requests:
memory: 250Mi
cpu: 50m
limits:
memory: 500Mi