Skip to content

Commit

Permalink
Update statefulset-node-red.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
th0th committed Jul 16, 2024
1 parent d0ce563 commit 85fd660
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions charts/node-red/templates/statefulset-node-red.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ spec:
- mountPath: /data/settings.js
name: configmap-node-red
subPath: settings.js
initContainers:
- command:
- chown
- -R
- 1000:1000
- /data
name: chown-data
image: alpine
volumeMounts:
- mountPath: /data
name: data
subPath: node-red-data
volumes:
- configMap:
name: {{ include "nodeRed.fullname" . }}-node-red
Expand Down

0 comments on commit 85fd660

Please sign in to comment.