files(fix): sync shared improve (#2099)

* files(fix): sync share improve

* feat: update olares app version to v1.6.7

---------

Co-authored-by: qq815776412 <815776412@qq.com>
This commit is contained in:
aby913 2025-11-24 23:55:25 +08:00 committed by GitHub
parent 3f6bc2bf36
commit a6457f0a2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 43 additions and 10 deletions

View file

@ -51,6 +51,7 @@ rules:
- "/provider/get_dataset_folder_status"
- "/provider/update_dataset_folder_paths"
- "/seahub/api/*"
- "/System/Configuration/encoding"
verbs: ["*"]
---

View file

@ -318,7 +318,7 @@ spec:
chown -R 1000:1000 /uploadstemp && \
chown -R 1000:1000 /appdata
- name: olares-app-init
image: beclab/system-frontend:v1.6.6
image: beclab/system-frontend:v1.6.7
imagePullPolicy: IfNotPresent
command:
- /bin/sh
@ -440,7 +440,7 @@ spec:
- name: NATS_SUBJECT_VAULT
value: os.vault.{{ .Values.bfl.username}}
- name: user-service
image: beclab/user-service:v0.0.69
image: beclab/user-service:v0.0.70
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3000

View file

@ -121,7 +121,7 @@ spec:
name: check-appservice
containers:
- name: chartrepo
image: beclab/dynamic-chart-repository:v0.2.5
image: beclab/dynamic-chart-repository:v0.3.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 81

View file

@ -144,7 +144,7 @@ spec:
{{ end }}
- name: samba-server
image: beclab/samba-server:0.0.6
image: beclab/samba-server:0.0.7
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: true
@ -210,7 +210,7 @@ spec:
command:
- /samba_share
- name: files
image: beclab/files-server:v0.2.128
image: beclab/files-server:v0.2.129
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: true
@ -460,7 +460,7 @@ spec:
- protocol: TCP
name: media-server
port: 9090
targetPort: 9090
targetPort: 80
---
apiVersion: v1
@ -825,6 +825,24 @@ data:
add_header Accept-Ranges bytes;
}
location /System {
proxy_pass http://127.0.0.1:8080;
# Add original-request-related headers
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
add_header Accept-Ranges bytes;
client_body_timeout 600s;
client_max_body_size 4000M;
proxy_request_buffering off;
keepalive_timeout 750s;
proxy_read_timeout 600s;
proxy_send_timeout 600s;
}
location /videos {
proxy_pass http://127.0.0.1:8080;
# rewrite ^/server(.*)$ $1 break;
@ -863,9 +881,8 @@ data:
proxy_send_timeout 600s;
}
location /seafhttp/upload {
location /seafhttp/upload-aj {
proxy_pass http://127.0.0.1:8080;
#proxy_pass http://seafile/;
# rewrite ^/server(.*)$ $1 break;
# Add original-request-related headers

View file

@ -140,7 +140,7 @@ spec:
name: check-chart-repo
containers:
- name: appstore-backend
image: beclab/market-backend:v0.5.6
image: beclab/market-backend:v0.6.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 81

View file

@ -146,7 +146,7 @@ spec:
value: os_framework_notifications
containers:
- name: notifications-api
image: beclab/notifications-api:v1.12.36
image: beclab/notifications-api:v1.12.38
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3010

View file

@ -184,3 +184,18 @@ spec:
- protocol: TCP
port: 28080
targetPort: 28080
---
apiVersion: v1
kind: Service
metadata:
name: files
namespace: user-system-{{ .Values.bfl.username }}
spec:
type: ClusterIP
selector:
app: systemserver
ports:
- protocol: TCP
port: 28080
targetPort: 28080