-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhelmrelease.yaml
More file actions
78 lines (76 loc) · 2.22 KB
/
Copy pathhelmrelease.yaml
File metadata and controls
78 lines (76 loc) · 2.22 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
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/app-template-5.0.1/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: trmnl
namespace: nightscout
spec:
chart:
spec:
chart: app-template
version: 5.0.1
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
namespace: flux-system
name: bjw-s
interval: 1h
driftDetection:
mode: enabled
values:
controllers:
trmnl:
strategy: RollingUpdate
containers:
trmnl:
image:
repository: ghcr.io/gabe565/trmnl-nightscout
tag: v0.3.0@sha256:78a61118ff12288d3ddf71b2f5de143838a085118a8ade3d2f139f620efcaed0
pullPolicy: Always
envFrom:
- secretRef:
name: trmnl-env
env:
TZ: America/Chicago
LISTEN_ADDRESS: ":80"
IMAGE_URL: https://${trmnl_url}
NIGHTSCOUT_URL: http://nightscout.nightscout:1337
REAL_IP_HEADER: "true"
TIME_FORMAT: 15:04
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: {drop: [ALL]}
probes:
liveness: &probe
enabled: true
type: HTTP
path: /ping
readiness: *probe
startup:
<<: *probe
spec:
failureThreshold: 30
periodSeconds: 5
pod:
labels:
policy.gabe565.com/egress-namespace: "true"
policy.gabe565.com/ingress-envoy-public: "true"
policy.gabe565.com/ingress-world: "true"
securityContext:
runAsUser: 65534
runAsGroup: 65534
seccompProfile: {type: RuntimeDefault}
service:
trmnl:
controller: trmnl
ports:
http:
port: 80
route:
trmnl:
parentRefs:
- namespace: envoy-gateway-system
name: public
hostnames:
- ${trmnl_url}