add home assistant addon node-red

This commit is contained in:
2024-07-01 17:44:23 +10:00
parent 04c2e97b6f
commit 32f7b57854
3 changed files with 70 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: node-red
namespace: home-assistant
labels:
app: node-red
spec:
replicas: 1
selector:
matchLabels:
app: node-red
template:
metadata:
labels:
app: node-red
spec:
containers:
- name: node-red
image: nodered/node-red:latest
ports:
- containerPort: 1880
name: node-red-ui
securityContext:
privileged: true
volumeMounts:
- name: node-red-data
mountPath: /data
env:
- name: TZ
value: Australia/Sydney
volumes:
- name: node-red-data
hostPath:
path: /mnt/nfs/AppData/home-assistant/node-red
type: Directory