Switch node-red to using Node v18

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2024-02-09 17:19:05 +00:00
parent 8e24fc7631
commit bdeeba249b
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78

View File

@ -56,9 +56,21 @@ spec:
subPath: settings.js subPath: settings.js
- name: data - name: data
mountPath: /data mountPath: /data
- name: update-native-modules
image: nodered/node-red:3.1.5-18
imagePullPolicy: IfNotPresent
command:
- bash
- -c
- |
cd /data
npm rebuild
volumeMounts:
- name: data
mountPath: /data
containers: containers:
- name: web - name: web
image: nodered/node-red:3.1.5-14 image: nodered/node-red:3.1.5-18
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 1880 - containerPort: 1880