Skip to content

Commit d366c25

Browse files
committed
Update NodeBB to 3.10.3
1 parent 2ddc093 commit d366c25

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

apps/nodebb/templates/deployment.yaml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,38 @@ spec:
1818
initContainers:
1919
- name: permission-init
2020
image: alpine:3.16.0
21+
command:
22+
- sh
23+
- -c
24+
- chown -R 1001:1001 /data/* && chmod 775 /data/* && ls -lah /data
2125
volumeMounts:
26+
- mountPath: /data/node_modules
27+
name: nodebb
28+
subPath: node_modules
29+
- mountPath: /data/build
30+
name: nodebb
31+
subPath: build
2232
- mountPath: /data/uploads
2333
name: nodebb
2434
subPath: uploads
2535
containers:
26-
- image: ghcr.io/nodebb/nodebb:3.10.0
36+
- image: ghcr.io/nodebb/nodebb:3.10.3
37+
{{/* command:*/}}
38+
{{/* - sh*/}}
39+
{{/* - -c*/}}
40+
{{/* - sleep infinity*/}}
2741
imagePullPolicy: Always
2842
name: nodebb
2943
volumeMounts:
3044
- mountPath: /opt/config/config.json
3145
name: config
3246
subPath: config.json
47+
- mountPath: /usr/src/app/node_modules
48+
name: nodebb
49+
subPath: node_modules
50+
- mountPath: /usr/src/app/build
51+
name: nodebb
52+
subPath: build
3353
- mountPath: /usr/src/app/public/uploads
3454
name: nodebb
3555
subPath: uploads

0 commit comments

Comments
 (0)