forked from billimek/k8s-gitops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathteslamate.yaml
97 lines (97 loc) · 2.31 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: teslamate
namespace: default
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://k8s-at-home.com/charts/
chart: teslamate
version: 7.1.2
sourceRef:
kind: HelmRepository
name: k8s-at-home-charts
namespace: flux-system
interval: 5m
values:
image:
repository: teslamate/teslamate
tag: 1.27.1
env:
TZ: "America/New_York"
DATABASE_USER: "teslamate"
DATABASE_NAME: "teslamate"
DATABASE_HOST: teslamate-postgresql
DISABLE_MQTT: "false"
MQTT_HOST: "emqx"
MQTT_USERNAME: "mqtt"
ingress:
main:
enabled: true
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/auth-url: "https://auth.eviljungle.com/oauth2/auth"
nginx.ingress.kubernetes.io/auth-signin: https://auth.eviljungle.com/oauth2/start
hosts:
- host: "teslamate.eviljungle.com"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- "teslamate.eviljungle.com"
tolerations:
- key: "arm"
operator: "Exists"
resources:
requests:
memory: 250Mi
cpu: 50m
limits:
memory: 500Mi
probes:
liveness:
spec:
periodSeconds: 10
failureThreshold: 15
readiness:
spec:
failureThreshold: 15
periodSeconds: 10
startup:
spec:
initialDelaySeconds: 15
failureThreshold: 30
periodSeconds: 10
postgresql:
enabled: true
image:
repository: postgres
tag: '13.4'
auth:
enablePostgresUser: false
username: teslamate
database: teslamate
postgresqlDataDir: "/data/pgdata"
shmVolume:
enabled: false
volumePermissions:
enabled: false
primary:
persistence:
enabled: true
storageClass: "rook-ceph-block"
size: 8Gi
mountPath: "/data/"
tolerations:
- key: "arm"
operator: "Exists"
podAnnotations:
backup.velero.io/backup-volumes: data
valuesFrom:
- kind: Secret
name: "teslamate-helm-values"
optional: false