-
Notifications
You must be signed in to change notification settings - Fork 6
/
helm-release.yaml
71 lines (71 loc) · 1.84 KB
/
helm-release.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
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app teslamate
spec:
interval: 15m
chart:
spec:
chart: app-template
version: 3.2.1
sourceRef:
kind: HelmRepository
name: bjw-s-charts
namespace: flux-system
interval: 15m
maxHistory: 3
install:
createNamespace: true
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
controllers:
main:
annotations:
reloader.stakater.com/auto: "true"
initContainers:
init-db:
image:
repository: ghcr.io/onedr0p/postgres-init
tag: 16.3@sha256:8ba3204f6b293dd168766009aae2ce4fa986a29b931c2d30ac1b30238ac750b8
pullPolicy: Always
envFrom:
- secretRef:
name: teslamate-secret
containers:
main:
image:
repository: teslamate/teslamate
tag: 1.29.1@sha256:7c833ef13585b46339b778bb974fa6ea0f908cb7b9d1a62b41aef694bfdb9ca0
env:
TZ: ${CONFIG_TIMEZONE}
DISABLE_MQTT: "true"
envFrom:
- secretRef:
name: teslamate-secret
service:
main:
controller: main
type: ClusterIP
ports:
http:
port: 4000
ingress:
main:
enabled: true
className: internal
hosts:
- host: "{{ .Release.Name }}.${SECRET_DOMAIN_NAME}"
paths:
- path: /
service:
identifier: main
port: http