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
1 changed files with 13 additions and 1 deletions

View File

@ -56,9 +56,21 @@ spec:
subPath: settings.js
- name: 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:
- name: web
image: nodered/node-red:3.1.5-14
image: nodered/node-red:3.1.5-18
imagePullPolicy: Always
ports:
- containerPort: 1880