-
Notifications
You must be signed in to change notification settings - Fork 88
/
node-red.yaml
77 lines (71 loc) · 1.46 KB
/
node-red.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
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: node-red
namespace: default
spec:
interval: 15m
chart:
spec:
chart: app-template
version: 1.5.1
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
maxHistory: 2
install:
createNamespace: true
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
image:
repository: nodered/node-red
tag: 4.0.5-18-minimal
env:
TZ: "America/New_York"
FLOWS: "flows.json"
NODE_RED_ENABLE_PROJECTS: "true"
NODE_RED_ENABLE_SAFE_MODE: "false"
service:
main:
ports:
http:
port: 1880
ingress:
main:
enabled: true
ingressClassName: nginx-tailscale
hosts:
- host: &host node-red.eviljungle.com
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- *host
podSecurityContext:
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: "OnRootMismatch"
persistence:
data:
enabled: true
mountPath: /data
storageClass: "rook-ceph-block"
accessMode: ReadWriteOnce
size: "5Gi"
resources:
requests:
memory: 350Mi
cpu: 25m
limits:
memory: 500Mi