Skip to content

Commit

Permalink
Update NodeBB to 3.10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Brutus5000 committed Nov 6, 2024
1 parent d16bd4d commit 5ad5ac8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/faf-api/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
prometheus.io/path: '/actuator/prometheus'
spec:
containers:
- image: faforever/faf-java-api:v3.4.7
- image: faforever/faf-java-api:v3.5.0-RC1
imagePullPolicy: Always
name: faf-api
envFrom:
Expand Down
20 changes: 15 additions & 5 deletions apps/nodebb/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ spec:
spec:
initContainers:
- name: permission-init
image: alpine:3.16.0
image: alpine/git
command:
- sh
- -c
- chown -R 1000:1000 /data/* && chmod 775 /data/* && ls -lah /data
- chown -R 1001:1001 /data/* && chmod 775 /data/* && ls -lah /data && git clone https://github.com/FAForever/nodebb-plugin-sso-oauth-faforever /data/plugins/sso-faforever
volumeMounts:
- mountPath: /data/node_modules
name: nodebb
Expand All @@ -32,12 +32,18 @@ spec:
- mountPath: /data/uploads
name: nodebb
subPath: uploads
- mountPath: /data/plugins
name: plugins
containers:
- image: nodebb/docker:1.19.12
- image: ghcr.io/nodebb/nodebb:3.10.3
{{/* command:*/}}
{{/* - sh*/}}
{{/* - -c*/}}
{{/* - sleep infinity*/}}
imagePullPolicy: Always
name: nodebb
volumeMounts:
- mountPath: /usr/src/app/config.json
- mountPath: /opt/config/config.json
name: config
subPath: config.json
- mountPath: /usr/src/app/node_modules
Expand All @@ -49,6 +55,8 @@ spec:
- mountPath: /usr/src/app/public/uploads
name: nodebb
subPath: uploads
- mountPath: /usr/src/app/local-plugins
name: plugins
restartPolicy: Always
volumes:
- name: config
Expand All @@ -57,5 +65,7 @@ spec:
- name: nodebb
persistentVolumeClaim:
claimName: nodebb-pvc
- name: plugins
emptyDir: {}
securityContext:
fsGroup: 1000
fsGroup: 1001

0 comments on commit 5ad5ac8

Please sign in to comment.