Compare commits

...

45 Commits

Author SHA1 Message Date
qq815776412
754425670e feat(settings-server): upgrade docker node version to 24.0.2 & upgrade nestjs version to 11.1.1 2025-05-19 21:29:50 +08:00
eball
d8a69a146c otel: bump the go auto-instrumentation image version (#1328)
otel: change the go auto-instrumentation image version
2025-05-19 19:30:36 +08:00
eball
7c134bbb1d authelia: replace redis client pool of session provider (#1323)
* authelia: replace redis client pool of session provider

* Update auth_backend_deploy.yaml

* Update auth_backend_deploy.yaml

* feat: add instrumentation to system-server

* Update systemserver_deploy.yaml
2025-05-17 01:20:19 +08:00
aby913
39dbad4ec9 backup-server: queue optimization, backup and restore process adjust (#1326)
backup-server: queue optimization, backup and restore process adjustments
2025-05-16 23:57:26 +08:00
eball
6c1539d65b otel: add arm64 version ubuntu nginx (#1324)
* otel: nginx auto instrumentation config reload bug fix

* otel: add arm64 version ubuntu nginx

* fix: change image tag
2025-05-16 21:00:41 +08:00
hysyeah
a3038f1edb app-service: improve api performance by use k8s informer (#1322) 2025-05-16 00:19:35 +08:00
huaiyuan
a2c7b16382 desktop: improve data refresh logic by socket after network reconnection (#1321)
fix(desktop): improve data refresh logic by socket after network reconnection
2025-05-16 00:19:09 +08:00
huaiyuan
ac598f66fc studio: show installation status in header bar (#1319)
fix(studio): show installation status in header bar
2025-05-16 00:18:18 +08:00
dkeven
6a8cb38940 fix(chart): remove redundant format symbol in template (#1317) 2025-05-15 21:23:29 +08:00
eball
1c1e7dfdf4 otel: nginx instrumentation arm64 version build bug (#1315)
* otel: nginx auto instrumentation config reload bug fix

* otel: nginx instrumentation arm64 version build bug
2025-05-15 21:22:56 +08:00
aby913
21199571ca backup-server: improve url check for snapshots retrieval and restore … (#1316)
backup-server: improve url check for snapshots retrieval and restore interface
2025-05-15 01:47:57 +08:00
dkeven
f5da7693a9 feat(installer): get rid of redundant subcommand and scripts; collect dmesg logs (#1314) 2025-05-14 17:48:26 +08:00
Peng Peng
668fb373bc feat: Let notification server can get users information (#1313) 2025-05-14 17:47:10 +08:00
eball
99a20ca23f otel: nginx auto instrumentation config reload bug fix (#1312) 2025-05-13 00:31:22 +08:00
wiy
07478c96d6 fix(settings): the problem of failure to create sub-account (#1311) 2025-05-13 00:30:52 +08:00
hysyeah
6d6f5c248c bfl: fix sub user delete issue (#1310) 2025-05-12 20:27:36 +08:00
simon
8f3507fd86 knowledge&download: fix twitter download failure & update larepass download (#1308)
knowledge
2025-05-11 10:53:21 +08:00
aby913
108c1392e3 backup-server: restore bug fix, sdk supports backup from file list (#1307)
fix: restore bug fix, sdk supports backup from file list
2025-05-10 00:42:32 +08:00
hysyeah
5cd37a477d app-service: fix pull image progress (#1306) 2025-05-10 00:41:59 +08:00
wiy
b137f96517 settings & files: update settings mirror manager & backup, files support backup (#1304)
feat: update settings support mirror manager
feat: update files support backup
feat: update settings backup
2025-05-10 00:41:10 +08:00
eball
dc4d5666d8 olares: fix go instrumentation resource limit typo (#1302)
* olares: fix go instrumentation resource limit typo

* fix: change to resourceRequirements

* fix: upgrade base image
2025-05-10 00:40:46 +08:00
dkeven
b3cb83de9f olaresd: manage registries and images in containerd (#1303)
* olaresd: manage registries and images in containerd

* feat: supports backing up from a list file

---------

Co-authored-by: aby913 <aby913@163.com>
2025-05-09 22:21:23 +08:00
aby913
862cfc4625 backup-server: fix external binding, improve message pushing (#1301) 2025-05-08 23:53:39 +08:00
eball
fa5ca7432c olares: add otel instrumentation image to manifest (#1300)
* olares: add otel instrumentation image to manifest

* fix: add autoinstrumentation-apache-httpd arm64 image

* fix: add go instrumentation resource limit

* fix: change instrumentation protocol

* fix: add add sampler ratio env
2025-05-08 23:53:12 +08:00
hysyeah
427bff8b45 ks,node_exporter,installer: add some metrics (#1299) 2025-05-08 23:52:56 +08:00
aby913
b8a3c66003 backup-server: check disk free space, api optimization (#1298)
backup-server: check disk free space
2025-05-08 01:19:37 +08:00
eball
92bf361698 olaresd: steamheadless sunshine mdns proxy (#1297) 2025-05-08 01:19:18 +08:00
wiy
de1cee0000 feat(settings): Encrypted transmission of login password (#1296) 2025-05-08 01:18:56 +08:00
eball
cac1978874 olares: add otel instrumentations (#1295)
* olares: add otel instrumentations

* fix: duplicate container name

* fix: move instrumentation before bfl installation

* feat: change openresty base image to ubuntu

---------

Co-authored-by: liuyu <liuy102@gmail.com>
2025-05-08 01:18:24 +08:00
aby913
1083b417b1 backup-server: support external directory (#1294) 2025-05-06 23:50:26 +08:00
dkeven
d9824a7deb feat: upgrade hami and use original libvgpu.so (#1293) 2025-05-06 23:50:02 +08:00
hysyeah
0aa59ab731 feat(login & wizard): Encrypted transmission of login password (#1292) 2025-05-01 22:55:39 +08:00
simon
28edc29240 download&crawler: fix youtube download failure & crawler cache error (#1291)
ytdlp
2025-05-01 01:05:59 +08:00
dkeven
ef77bff611 feat(installer): md5 password 2025-04-30 15:04:26 +08:00
qq815776412
0667481fcf feat:login & wizard Encrypted transmission of login password 2025-04-30 14:40:12 +08:00
lovehunter9
e16ed5ea64 fix: add init container for files-server (#1288) 2025-04-29 23:47:10 +08:00
simon
93d1237a43 fix: change argo and sync run user (#1287)
permission
2025-04-29 20:01:08 +08:00
hysyeah
42ff86e0af studio-server: change cm push url (#1284) 2025-04-29 00:23:49 +08:00
simon
814dce3dec fix: argo archivelog and knowledge feed save bug (#1283)
knowledge v0.12.4
2025-04-28 18:17:20 +08:00
aby913
bfa43257ff backup-server: abnormal restoration state, get space cos stats failed (#1268) 2025-04-26 00:33:19 +08:00
berg
e1c9e9ad20 fix(vault&wise): some known issues (#1281)
* feat: update wise & vault & files new version to v1.3.54

* feat: update 1.3.55

---------

Co-authored-by: qq815776412 <815776412@qq.com>
2025-04-26 00:09:10 +08:00
hysyeah
1b62d2ae31 lldap,bfl,app-service: user event publish;subnet mask minus 1 (#1277) 2025-04-26 00:07:35 +08:00
berg
51f32c993f profile, market: modify default theme configuration (#1276)
fix: modify default theme configuration
2025-04-26 00:07:05 +08:00
huaiyuan
59749c8b7f desktop: fix iframe hide when zooming the window (#1270) 2025-04-26 00:06:10 +08:00
dkeven
23816103c9 fix: correct minVersion in version.hint to follow semver spec (#1269) 2025-04-26 00:05:44 +08:00
35 changed files with 290 additions and 209 deletions

View File

@@ -16,7 +16,7 @@ data:
key: AWS_SECRET_ACCESS_KEY key: AWS_SECRET_ACCESS_KEY
name: argo-workflow-log-fakes3 name: argo-workflow-log-fakes3
bucket: mongo-backup bucket: mongo-backup
endpoint: workflow-archivelog-s3.user-system-mmchong2021:4568 endpoint: tapr-s3-svc:4568
insecure: true insecure: true
persistence: persistence:
connectionPool: connectionPool:

View File

@@ -66,7 +66,7 @@ spec:
containers: containers:
- name: edge-desktop - name: edge-desktop
image: beclab/desktop:v0.2.57 image: beclab/desktop:v0.2.59
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
runAsNonRoot: false runAsNonRoot: false
@@ -78,7 +78,7 @@ spec:
value: http://bfl.{{ .Release.Namespace }}:8080 value: http://bfl.{{ .Release.Namespace }}:8080
- name: desktop-server - name: desktop-server
image: beclab/desktop-server:v0.2.57 image: beclab/desktop-server:v0.2.59
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false

View File

@@ -43,8 +43,8 @@ spec:
labels: labels:
app: files app: files
annotations: annotations:
# instrumentation.opentelemetry.io/inject-nginx: "olares-instrumentation" instrumentation.opentelemetry.io/inject-nginx: "olares-instrumentation"
# instrumentation.opentelemetry.io/inject-nginx-container-names: "nginx" instrumentation.opentelemetry.io/inject-nginx-container-names: "nginx"
instrumentation.opentelemetry.io/inject-go: "olares-instrumentation" instrumentation.opentelemetry.io/inject-go: "olares-instrumentation"
instrumentation.opentelemetry.io/go-container-names: "gateway,files,uploader" instrumentation.opentelemetry.io/go-container-names: "gateway,files,uploader"
instrumentation.opentelemetry.io/otel-go-auto-target-exe: "/filebrowser" instrumentation.opentelemetry.io/otel-go-auto-target-exe: "/filebrowser"
@@ -73,6 +73,28 @@ spec:
- -c - -c
- | - |
chown -R 1000:1000 /appdata; chown -R 1000:1000 /appcache; chown -R 1000:1000 /data chown -R 1000:1000 /appdata; chown -R 1000:1000 /appcache; chown -R 1000:1000 /data
- name: init-container
image: 'postgres:16.0-alpine3.18'
command:
- sh
- '-c'
- >-
echo -e "Checking for the availability of PostgreSQL Server
deployment"; until psql -h $PGHOST -p $PGPORT -U $PGUSER -d $PGDB1
-c "SELECT 1"; do sleep 1; printf "-"; done; sleep 5; echo -e " >>
PostgreSQL DB Server has started";
env:
- name: PGHOST
value: citus-headless.os-system
- name: PGPORT
value: '5432'
- name: PGUSER
value: files_os_system
- name: PGPASSWORD
value: {{ $files_postgres_password | b64dec }}
- name: PGDB1
value: os_system_files
containers: containers:
- name: gateway - name: gateway
image: beclab/appdata-gateway:0.1.18 image: beclab/appdata-gateway:0.1.18
@@ -281,7 +303,7 @@ spec:
runAsUser: 0 runAsUser: 0
privileged: true privileged: true
- name: nginx - name: nginx
image: 'nginx:stable-alpine3.17-slim' image: 'beclab/docker-nginx-headers-more:ubuntu-v0.1.0'
securityContext: securityContext:
runAsNonRoot: false runAsNonRoot: false
runAsUser: 0 runAsUser: 0

View File

@@ -114,9 +114,11 @@ spec:
io.bytetrade.app: "true" io.bytetrade.app: "true"
annotations: annotations:
# support nginx 1.24.3 1.25.3 # support nginx 1.24.3 1.25.3
# instrumentation.opentelemetry.io/inject-nginx: "olares-instrumentation" instrumentation.opentelemetry.io/inject-nginx: "olares-instrumentation"
# instrumentation.opentelemetry.io/inject-nginx-container-names: "files-frontend" instrumentation.opentelemetry.io/inject-nginx-container-names: "files-frontend"
# instrumentation.opentelemetry.io/otel-go-auto-target-exe: "drive" instrumentation.opentelemetry.io/inject-go: "olares-instrumentation"
instrumentation.opentelemetry.io/go-container-names: "driver-server"
instrumentation.opentelemetry.io/otel-go-auto-target-exe: "drive"
spec: spec:
serviceAccountName: bytetrade-controller serviceAccountName: bytetrade-controller
securityContext: securityContext:
@@ -204,6 +206,20 @@ spec:
value: "{{ $pg_password | b64dec }}" value: "{{ $pg_password | b64dec }}"
- name: PGDB - name: PGDB
value: user_space_{{ .Values.bfl.username }}_cloud_drive_integration value: user_space_{{ .Values.bfl.username }}_cloud_drive_integration
- name: files-frontend-init
image: beclab/files-frontend:v1.3.61
imagePullPolicy: IfNotPresent
volumeMounts:
- name: app
mountPath: /cp_app
- name: nginx-confd
mountPath: /confd
command:
- sh
- -c
- |
cp -rf /app/* /cp_app/. && cp -rf /etc/nginx/conf.d/* /confd/.
containers: containers:
# - name: gateway # - name: gateway
# image: beclab/appdata-gateway:0.1.12 # image: beclab/appdata-gateway:0.1.12
@@ -302,7 +318,7 @@ spec:
# - /filebrowser # - /filebrowser
# - --noauth # - --noauth
- name: files-frontend - name: files-frontend
image: beclab/files-frontend:v1.3.53 image: beclab/docker-nginx-headers-more:ubuntu-v0.1.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
runAsNonRoot: false runAsNonRoot: false
@@ -323,6 +339,10 @@ spec:
volumeMounts: volumeMounts:
- name: userspace-dir - name: userspace-dir
mountPath: /data mountPath: /data
- name: app
mountPath: /app
- name: nginx-confd
mountPath: /etc/nginx/conf.d
- name: drive-server - name: drive-server
image: beclab/drive:v0.0.72 image: beclab/drive:v0.0.72
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
@@ -469,6 +489,10 @@ spec:
items: items:
- key: envoy.yaml - key: envoy.yaml
path: envoy.yaml path: envoy.yaml
- name: app
emptyDir: {}
- name: nginx-confd
emptyDir: {}

View File

@@ -177,7 +177,7 @@ spec:
value: os_system_knowledge value: os_system_knowledge
containers: containers:
- name: knowledge - name: knowledge
image: "beclab/knowledge-base-api:v0.12.2" image: "beclab/knowledge-base-api:v0.12.5"
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false
@@ -209,6 +209,8 @@ spec:
value: os_system_knowledge value: os_system_knowledge
- name: DOWNLOAD_URL - name: DOWNLOAD_URL
value: http://download-svc.os-system:3080 value: http://download-svc.os-system:3080
- name: YTDLP_DOWNLOAD_URL
value: http://download-svc.os-system:3082
- name: NATS_HOST - name: NATS_HOST
value: nats value: nats
- name: NATS_PORT - name: NATS_PORT
@@ -283,8 +285,8 @@ spec:
- name: sync - name: sync
image: "beclab/recommend-sync:v0.12.0" image: "beclab/recommend-sync:v0.12.0"
securityContext: securityContext:
allowPrivilegeEscalation: false runAsUser: 0
runAsUser: 1000 runAsNonRoot: false
env: env:
- name: USERSPACE_DIRECTORY - name: USERSPACE_DIRECTORY
value: /data value: /data
@@ -309,7 +311,7 @@ spec:
mountPath: /data mountPath: /data
- name: crawler - name: crawler
image: "beclab/recommend-crawler:v0.12.0" image: "beclab/recommend-crawler:v0.12.1"
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false
runAsUser: 1000 runAsUser: 1000
@@ -518,7 +520,7 @@ spec:
cpu: "1" cpu: "1"
memory: 300Mi memory: 300Mi
- name: yt-dlp - name: yt-dlp
image: "beclab/yt-dlp:v0.12.0" image: "beclab/yt-dlp:v0.12.2"
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false
@@ -564,7 +566,7 @@ spec:
cpu: "1" cpu: "1"
memory: 300Mi memory: 300Mi
- name: download-spider - name: download-spider
image: "beclab/download-spider:v0.12.1" image: "beclab/download-spider:v0.12.2"
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false

View File

@@ -43,6 +43,12 @@ spec:
labels: labels:
app: appstore app: appstore
io.bytetrade.app: "true" io.bytetrade.app: "true"
annotations:
instrumentation.opentelemetry.io/inject-go: "olares-instrumentation"
instrumentation.opentelemetry.io/go-container-names: "appstore-backend"
instrumentation.opentelemetry.io/otel-go-auto-target-exe: "/opt/app/market"
instrumentation.opentelemetry.io/inject-nginx: "olares-instrumentation"
instrumentation.opentelemetry.io/inject-nginx-container-names: "appstore"
spec: spec:
priorityClassName: "system-cluster-critical" priorityClassName: "system-cluster-critical"
initContainers: initContainers:
@@ -84,14 +90,33 @@ spec:
fieldRef: fieldRef:
apiVersion: v1 apiVersion: v1
fieldPath: status.podIP fieldPath: status.podIP
- name: nginx-init
image: beclab/market-frontend:v0.3.11
imagePullPolicy: IfNotPresent
volumeMounts:
- name: app
mountPath: /cp_app
- name: nginx-confd
mountPath: /confd
command:
- sh
- -c
- |
cp -rf /app/* /cp_app/. && cp -rf /etc/nginx/conf.d/* /confd/.
containers: containers:
- name: appstore - name: appstore
image: beclab/market-frontend:v0.3.10 image: beclab/docker-nginx-headers-more:ubuntu-v0.1.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: 80 - containerPort: 80
volumeMounts:
- name: app
mountPath: /app
- name: nginx-confd
mountPath: /etc/nginx/conf.d
- name: appstore-backend - name: appstore-backend
image: beclab/market-backend:v0.3.10 image: beclab/market-backend:v0.3.11
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: 81 - containerPort: 81
@@ -194,6 +219,10 @@ spec:
hostPath: hostPath:
path: '{{ .Values.userspace.appData}}/appstore/data' path: '{{ .Values.userspace.appData}}/appstore/data'
type: DirectoryOrCreate type: DirectoryOrCreate
- name: app
emptyDir: {}
- name: nginx-confd
emptyDir: {}
--- ---
apiVersion: v1 apiVersion: v1

View File

@@ -1,6 +1,6 @@
{{- $namespace := printf "%s%s" "os-system" -}} {{- $namespace := printf "%s" "os-system" -}}
{{- $notifications_secret := (lookup "v1" "Secret" $namespace "notifications-secrets") -}} {{- $notifications_secret := (lookup "v1" "Secret" $namespace "notifications-secrets") -}}
{{- $pg_password := "" -}} {{- $pg_password := "" -}}
@@ -83,6 +83,23 @@ spec:
permission: permission:
pub: allow pub: allow
sub: allow sub: allow
- export:
- appName: lldap
pub: allow
sub: allow
- appName: vault-server
pub: deny
sub: allow
- appName: seahub
pub: deny
sub: allow
- appName: knowledge
pub: deny
sub: allow
name: system.users
permission:
pub: allow
sub: allow
user: os-system-notifications user: os-system-notifications
--- ---
@@ -131,7 +148,7 @@ spec:
value: os_system_notifications value: os_system_notifications
containers: containers:
- name: notifications-api - name: notifications-api
image: beclab/notifications-api:v1.12.2 image: beclab/notifications-api:v1.12.3
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: 3010 - containerPort: 3010
@@ -160,6 +177,8 @@ spec:
name: notifications-secrets name: notifications-secrets
- name: NATS_SUBJECT - name: NATS_SUBJECT
value: "terminus.{{ .Release.Namespace }}.system.notification" value: "terminus.{{ .Release.Namespace }}.system.notification"
- name: NATS_SUBJECT_SYSTEM_USERS
value: "terminus.{{ .Release.Namespace }}.system.users"
livenessProbe: livenessProbe:
tcpSocket: tcpSocket:

View File

@@ -249,7 +249,7 @@ spec:
containers: containers:
- name: studio - name: studio
image: beclab/studio-server:v0.1.49 image: beclab/studio-server:v0.1.50
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
args: args:
- server - server

View File

@@ -149,11 +149,11 @@ spec:
labels: labels:
app: system-frontend app: system-frontend
io.bytetrade.app: "true" io.bytetrade.app: "true"
# annotations: annotations:
# instrumentation.opentelemetry.io/inject-nodejs: "olares-instrumentation" instrumentation.opentelemetry.io/inject-nodejs: "olares-instrumentation"
# instrumentation.opentelemetry.io/nodejs-container-names: "settings-server" instrumentation.opentelemetry.io/nodejs-container-names: "settings-server"
# instrumentation.opentelemetry.io/inject-nginx: "olares-instrumentation" instrumentation.opentelemetry.io/inject-nginx: "olares-instrumentation"
# instrumentation.opentelemetry.io/inject-nginx-container-names: "system-frontend" instrumentation.opentelemetry.io/inject-nginx-container-names: "system-frontend"
spec: spec:
priorityClassName: "system-cluster-critical" priorityClassName: "system-cluster-critical"
initContainers: initContainers:
@@ -220,7 +220,7 @@ spec:
- mountPath: /www - mountPath: /www
name: www-dir name: www-dir
- name: profile-editor-init - name: profile-editor-init
image: beclab/profile-editor:v0.2.1 image: beclab/profile-editor:v0.2.21
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: command:
- /bin/sh - /bin/sh
@@ -232,7 +232,7 @@ spec:
- mountPath: /www - mountPath: /www
name: www-dir name: www-dir
- name: profile-preview-init - name: profile-preview-init
image: beclab/profile-preview:v0.2.1 image: beclab/profile-preview:v0.2.21
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: command:
- /bin/sh - /bin/sh
@@ -244,7 +244,7 @@ spec:
- mountPath: /www - mountPath: /www
name: www-dir name: www-dir
- name: wise-init - name: wise-init
image: beclab/wise:v1.3.53 image: beclab/wise:v1.3.55
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: command:
- /bin/sh - /bin/sh
@@ -256,7 +256,7 @@ spec:
- mountPath: /www - mountPath: /www
name: www-dir name: www-dir
- name: settings-init - name: settings-init
image: beclab/settings:v1.3.53 image: beclab/settings:v1.3.62
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: command:
- /bin/sh - /bin/sh
@@ -268,7 +268,7 @@ spec:
- mountPath: /www - mountPath: /www
name: www-dir name: www-dir
- name: studio-init - name: studio-init
image: beclab/studio:v0.2.11 image: beclab/studio:v0.2.16
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
command: command:
- /bin/sh - /bin/sh
@@ -305,7 +305,7 @@ spec:
- -c - -c
- /etc/envoy/envoy.yaml - /etc/envoy/envoy.yaml
- name: system-frontend - name: system-frontend
image: beclab/docker-nginx-headers-more:v0.1.0 image: beclab/docker-nginx-headers-more:ubuntu-v0.1.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: 81 - containerPort: 81
@@ -385,7 +385,7 @@ spec:
terminationMessagePath: /dev/termination-log terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File terminationMessagePolicy: File
- name: settings-server - name: settings-server
image: beclab/settings-server:v0.2.20 image: beclab/settings-server:v0.2.23
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: 3000 - containerPort: 3000

View File

@@ -83,7 +83,7 @@ spec:
value: os_system_vault value: os_system_vault
containers: containers:
- name: vault-server - name: vault-server
image: beclab/vault-server:v1.3.53 image: beclab/vault-server:v1.3.55
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: 3000 - containerPort: 3000
@@ -114,7 +114,7 @@ spec:
- name: vault-attach - name: vault-attach
mountPath: /padloc/packages/server/attachments mountPath: /padloc/packages/server/attachments
- name: vault-admin - name: vault-admin
image: beclab/vault-admin:v1.3.53 image: beclab/vault-admin:v1.3.55
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: 3010 - containerPort: 3010

View File

@@ -88,13 +88,13 @@ spec:
containers: containers:
- name: vault-frontend - name: vault-frontend
image: beclab/vault-frontend:v1.3.53 image: beclab/vault-frontend:v1.3.55
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: 80 - containerPort: 80
- name: notification-server - name: notification-server
image: beclab/vault-notification:v1.3.53 image: beclab/vault-notification:v1.3.55
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: 3010 - containerPort: 3010

View File

@@ -61,7 +61,7 @@ spec:
containers: containers:
- name: wizard - name: wizard
image: beclab/wizard:v0.5.12 image: beclab/wizard:v1.3.57
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: 80 - containerPort: 80

View File

@@ -48,7 +48,7 @@ if (-Not (Test-Path $CLI_PROGRAM_PATH)) {
New-Item -Path $CLI_PROGRAM_PATH -ItemType Directory New-Item -Path $CLI_PROGRAM_PATH -ItemType Directory
} }
$CLI_VERSION = "0.2.30" $CLI_VERSION = "0.2.35"
$CLI_FILE = "olares-cli-v{0}_windows_{1}.tar.gz" -f $CLI_VERSION, $arch $CLI_FILE = "olares-cli-v{0}_windows_{1}.tar.gz" -f $CLI_VERSION, $arch
$CLI_URL = "{0}/{1}" -f $downloadUrl, $CLI_FILE $CLI_URL = "{0}/{1}" -f $downloadUrl, $CLI_FILE
$CLI_PATH = "{0}{1}" -f $CLI_PROGRAM_PATH, $CLI_FILE $CLI_PATH = "{0}{1}" -f $CLI_PROGRAM_PATH, $CLI_FILE
@@ -82,6 +82,6 @@ if ($download -eq 1) {
Start-Sleep -Seconds 3 Start-Sleep -Seconds 3
Write-Host ("Preparing to start the installation of Olares {0}. Depending on your network conditions, this process may take several minutes." -f $version) Write-Host ("Preparing to start the installation of Olares {0}. Depending on your network conditions, this process may take several minutes." -f $version)
$command = "{0}\olares-cli.exe olares install --version {1}" -f $CLI_PROGRAM_PATH, $version $command = "{0}\olares-cli.exe install --version {1}" -f $CLI_PROGRAM_PATH, $version
Start-Process cmd -ArgumentList '/k',$command -Wait -Verb RunAs Start-Process cmd -ArgumentList '/k',$command -Wait -Verb RunAs

View File

@@ -74,7 +74,7 @@ if [ -z ${cdn_url} ]; then
cdn_url="https://dc3p1870nn3cj.cloudfront.net" cdn_url="https://dc3p1870nn3cj.cloudfront.net"
fi fi
CLI_VERSION="0.2.30" CLI_VERSION="0.2.35"
CLI_FILE="olares-cli-v${CLI_VERSION}_linux_${ARCH}.tar.gz" CLI_FILE="olares-cli-v${CLI_VERSION}_linux_${ARCH}.tar.gz"
if [[ x"$os_type" == x"Darwin" ]]; then if [[ x"$os_type" == x"Darwin" ]]; then
CLI_FILE="olares-cli-v${CLI_VERSION}_darwin_${ARCH}.tar.gz" CLI_FILE="olares-cli-v${CLI_VERSION}_darwin_${ARCH}.tar.gz"
@@ -137,7 +137,7 @@ else
echo "" echo ""
else else
echo "building local release ..." echo "building local release ..."
$sh_c "$INSTALL_OLARES_CLI olares release $PARAMS $CDN" $sh_c "$INSTALL_OLARES_CLI release $PARAMS $CDN"
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
echo "error: failed to build local release" echo "error: failed to build local release"
exit 1 exit 1
@@ -146,13 +146,13 @@ else
else else
echo "running system prechecks ..." echo "running system prechecks ..."
echo "" echo ""
$sh_c "$INSTALL_OLARES_CLI olares precheck $PARAMS" $sh_c "$INSTALL_OLARES_CLI precheck $PARAMS"
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
exit 1 exit 1
fi fi
echo "downloading installation wizard..." echo "downloading installation wizard..."
echo "" echo ""
$sh_c "$INSTALL_OLARES_CLI olares download wizard $PARAMS $KUBE_PARAM $CDN" $sh_c "$INSTALL_OLARES_CLI download wizard $PARAMS $KUBE_PARAM $CDN"
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
echo "error: failed to download installation wizard" echo "error: failed to download installation wizard"
exit 1 exit 1
@@ -161,7 +161,7 @@ else
echo "downloading installation packages..." echo "downloading installation packages..."
echo "" echo ""
$sh_c "$INSTALL_OLARES_CLI olares download component $PARAMS $KUBE_PARAM $CDN" $sh_c "$INSTALL_OLARES_CLI download component $PARAMS $KUBE_PARAM $CDN"
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
echo "error: failed to download installation packages" echo "error: failed to download installation packages"
exit 1 exit 1
@@ -173,7 +173,7 @@ else
if [ x"$REGISTRY_MIRRORS" != x"" ]; then if [ x"$REGISTRY_MIRRORS" != x"" ]; then
extra="--registry-mirrors $REGISTRY_MIRRORS" extra="--registry-mirrors $REGISTRY_MIRRORS"
fi fi
$sh_c "$INSTALL_OLARES_CLI olares prepare $PARAMS $KUBE_PARAM $extra" $sh_c "$INSTALL_OLARES_CLI prepare $PARAMS $KUBE_PARAM $extra"
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
echo "error: failed to prepare installation environment" echo "error: failed to prepare installation environment"
exit 1 exit 1
@@ -198,7 +198,7 @@ if [[ "$JUICEFS" == "1" ]]; then
else else
echo "checking storage config ..." echo "checking storage config ..."
fi fi
$sh_c "$INSTALL_OLARES_CLI olares install storage $PARAMS" $sh_c "$INSTALL_OLARES_CLI install storage $PARAMS"
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
exit 1 exit 1
fi fi
@@ -221,7 +221,7 @@ if [[ -n "$ZRAM_SWAP_PRIORITY" ]]; then
fi fi
echo "installing Olares..." echo "installing Olares..."
echo "" echo ""
$sh_c "$INSTALL_OLARES_CLI olares install $PARAMS $KUBE_PARAM $fsflag $swapflag" $sh_c "$INSTALL_OLARES_CLI install $PARAMS $KUBE_PARAM $fsflag $swapflag"
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
echo "error: failed to install Olares" echo "error: failed to install Olares"

View File

@@ -157,7 +157,7 @@ fi
set_master_host_ssh_options set_master_host_ssh_options
CLI_VERSION="0.2.30" CLI_VERSION="0.2.35"
CLI_FILE="olares-cli-v${CLI_VERSION}_linux_${ARCH}.tar.gz" CLI_FILE="olares-cli-v${CLI_VERSION}_linux_${ARCH}.tar.gz"
if command_exists olares-cli && [[ "$(olares-cli -v | awk '{print $3}')" == "$CLI_VERSION" ]]; then if command_exists olares-cli && [[ "$(olares-cli -v | awk '{print $3}')" == "$CLI_VERSION" ]]; then
@@ -211,14 +211,14 @@ if [[ -f $BASE_DIR/.prepared ]]; then
else else
echo "running system prechecks ..." echo "running system prechecks ..."
echo "" echo ""
$sh_c "$INSTALL_OLARES_CLI olares precheck $PARAMS" $sh_c "$INSTALL_OLARES_CLI precheck $PARAMS"
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
exit 1 exit 1
fi fi
echo "downloading installation wizard..." echo "downloading installation wizard..."
echo "" echo ""
$sh_c "$INSTALL_OLARES_CLI olares download wizard $PARAMS $CDN" $sh_c "$INSTALL_OLARES_CLI download wizard $PARAMS $CDN"
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
echo "error: failed to download installation wizard" echo "error: failed to download installation wizard"
exit 1 exit 1
@@ -226,7 +226,7 @@ else
echo "downloading installation packages..." echo "downloading installation packages..."
echo "" echo ""
$sh_c "$INSTALL_OLARES_CLI olares download component $PARAMS $CDN" $sh_c "$INSTALL_OLARES_CLI download component $PARAMS $CDN"
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
echo "error: failed to download installation packages" echo "error: failed to download installation packages"
exit 1 exit 1
@@ -238,7 +238,7 @@ else
if [ x"$REGISTRY_MIRRORS" != x"" ]; then if [ x"$REGISTRY_MIRRORS" != x"" ]; then
extra="--registry-mirrors $REGISTRY_MIRRORS" extra="--registry-mirrors $REGISTRY_MIRRORS"
fi fi
$sh_c "$INSTALL_OLARES_CLI olares prepare $PARAMS $extra" $sh_c "$INSTALL_OLARES_CLI prepare $PARAMS $extra"
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
echo "error: failed to prepare installation environment" echo "error: failed to prepare installation environment"
exit 1 exit 1

View File

@@ -1,2 +1,2 @@
upgrade: upgrade:
minVersion: 1.12.0-0000000 minVersion: 1.12.0-1

View File

@@ -20,5 +20,7 @@ metadata:
spec: spec:
email: "{{.Values.user.email}}" email: "{{.Values.user.email}}"
initialPassword: "{{ .Values.user.password }}" initialPassword: "{{ .Values.user.password }}"
groups:
- lldap_admin
status: status:
state: Active state: Active

View File

@@ -1,4 +1,4 @@
olaresd-v1.12.0-rc.6.tar.gz,pkg/components,https://dc3p1870nn3cj.cloudfront.net/olaresd-v1.12.0-rc.6-linux-amd64.tar.gz,https://dc3p1870nn3cj.cloudfront.net/olaresd-v1.12.0-rc.6-linux-arm64.tar.gz,olaresd olaresd-v1.12.0-rc.10.tar.gz,pkg/components,https://dc3p1870nn3cj.cloudfront.net/olaresd-v1.12.0-rc.10-linux-amd64.tar.gz,https://dc3p1870nn3cj.cloudfront.net/olaresd-v1.12.0-rc.10-linux-arm64.tar.gz,olaresd
socat-1.7.3.2.tar.gz,pkg/components,https://src.fedoraproject.org/lookaside/pkgs/socat/socat-1.7.3.2.tar.gz/sha512/540658b2a3d1b87673196282e5c62b97681bd0f1d1e4759ff9d72909d11060235ee9e9521a973603c1b00376436a9444248e5fbc0ffac65f8edb9c9bc28e7972/socat-1.7.3.2.tar.gz,https://src.fedoraproject.org/lookaside/pkgs/socat/socat-1.7.3.2.tar.gz/sha512/540658b2a3d1b87673196282e5c62b97681bd0f1d1e4759ff9d72909d11060235ee9e9521a973603c1b00376436a9444248e5fbc0ffac65f8edb9c9bc28e7972/socat-1.7.3.2.tar.gz,socat socat-1.7.3.2.tar.gz,pkg/components,https://src.fedoraproject.org/lookaside/pkgs/socat/socat-1.7.3.2.tar.gz/sha512/540658b2a3d1b87673196282e5c62b97681bd0f1d1e4759ff9d72909d11060235ee9e9521a973603c1b00376436a9444248e5fbc0ffac65f8edb9c9bc28e7972/socat-1.7.3.2.tar.gz,https://src.fedoraproject.org/lookaside/pkgs/socat/socat-1.7.3.2.tar.gz/sha512/540658b2a3d1b87673196282e5c62b97681bd0f1d1e4759ff9d72909d11060235ee9e9521a973603c1b00376436a9444248e5fbc0ffac65f8edb9c9bc28e7972/socat-1.7.3.2.tar.gz,socat
conntrack-tools-1.4.1.tar.gz,pkg/components,https://github.com/fqrouter/conntrack-tools/archive/refs/tags/conntrack-tools-1.4.1.tar.gz,https://github.com/fqrouter/conntrack-tools/archive/refs/tags/conntrack-tools-1.4.1.tar.gz,conntrack-tools conntrack-tools-1.4.1.tar.gz,pkg/components,https://github.com/fqrouter/conntrack-tools/archive/refs/tags/conntrack-tools-1.4.1.tar.gz,https://github.com/fqrouter/conntrack-tools/archive/refs/tags/conntrack-tools-1.4.1.tar.gz,conntrack-tools
minio.RELEASE.2023-05-04T21-44-30Z,pkg/components,https://dl.min.io/server/minio/release/linux-amd64/archive/minio.RELEASE.2023-05-04T21-44-30Z,https://dl.min.io/server/minio/release/linux-arm64/archive/minio.RELEASE.2023-05-04T21-44-30Z,minio minio.RELEASE.2023-05-04T21-44-30Z,pkg/components,https://dl.min.io/server/minio/release/linux-amd64/archive/minio.RELEASE.2023-05-04T21-44-30Z,https://dl.min.io/server/minio/release/linux-arm64/archive/minio.RELEASE.2023-05-04T21-44-30Z,minio

View File

@@ -1,5 +1,5 @@
beclab/ks-apiserver:0.0.9 beclab/ks-apiserver:0.0.11
beclab/ks-controller-manager:0.0.9 beclab/ks-controller-manager:0.0.11
beclab/kube-state-metrics:v2.3.0-ext.1 beclab/kube-state-metrics:v2.3.0-ext.1
calico/cni:v3.29.2 calico/cni:v3.29.2
calico/kube-controllers:v3.29.2 calico/kube-controllers:v3.29.2
@@ -18,7 +18,7 @@ kubesphere/prometheus-operator:v0.55.1
openebs/linux-utils:3.3.0 openebs/linux-utils:3.3.0
openebs/provisioner-localpv:3.3.0 openebs/provisioner-localpv:3.3.0
beclab/percona-server-mongodb-operator:1.15.2 beclab/percona-server-mongodb-operator:1.15.2
prom/node-exporter:v1.3.1 beclab/node-exporter:0.0.1
prom/prometheus:v2.34.0 prom/prometheus:v2.34.0
quay.io/argoproj/argocli:v3.5.0 quay.io/argoproj/argocli:v3.5.0
quay.io/argoproj/argoexec:v3.5.0 quay.io/argoproj/argoexec:v3.5.0
@@ -36,9 +36,12 @@ beclab/reverse-proxy:v0.1.8
beclab/upgrade-job:0.1.7 beclab/upgrade-job:0.1.7
bytetrade/envoy:v1.25.11.1 bytetrade/envoy:v1.25.11.1
liangjw/kube-webhook-certgen:v1.1.1 liangjw/kube-webhook-certgen:v1.1.1
beclab/hami:v2.5.1 beclab/hami:v2.5.2
alpine:3.14 alpine:3.14
mirrorgooglecontainers/defaultbackend-amd64:1.4 mirrorgooglecontainers/defaultbackend-amd64:1.4
projecthami/hami-webui-fe-oss:v1.0.5 projecthami/hami-webui-fe-oss:v1.0.5
projecthami/hami-webui-be-oss:v1.0.5 projecthami/hami-webui-be-oss:v1.0.5
nvidia/dcgm-exporter:4.1.1-4.0.4-ubuntu22.04 nvidia/dcgm-exporter:4.1.1-4.0.4-ubuntu22.04
ghcr.io/open-telemetry/opentelemetry-go-instrumentation/autoinstrumentation-go:v0.20.0
bytetrade/autoinstrumentation-apache-httpd:1.0.4-fix1
ghcr.io/open-telemetry/opentelemetry-operator/autoinstrumentation-nodejs:0.40.0

View File

@@ -1,5 +1,5 @@
cni-plugins-v1.6.2.tgz,pkg/cni/v1.6.2,https://github.com/containernetworking/plugins/releases/download/v1.6.2/cni-plugins-linux-amd64-v1.6.2.tgz,https://github.com/containernetworking/plugins/releases/download/v1.6.2/cni-plugins-linux-arm-v1.6.2.tgz,cni-plugins cni-plugins-v1.6.2.tgz,pkg/cni/v1.6.2,https://github.com/containernetworking/plugins/releases/download/v1.6.2/cni-plugins-linux-amd64-v1.6.2.tgz,https://github.com/containernetworking/plugins/releases/download/v1.6.2/cni-plugins-linux-arm-v1.6.2.tgz,cni-plugins
containerd-1.6.4.tar.gz,pkg/containerd/1.6.4,https://github.com/containerd/containerd/releases/download/v1.6.4/containerd-1.6.4-linux-amd64.tar.gz,https://github.com/containerd/containerd/releases/download/v1.6.4/containerd-1.6.4-linux-arm64.tar.gz,containerd containerd-1.6.36.tar.gz,pkg/containerd/1.6.36,https://github.com/containerd/containerd/releases/download/v1.6.36/containerd-1.6.36-linux-amd64.tar.gz,https://github.com/containerd/containerd/releases/download/v1.6.36/containerd-1.6.36-linux-arm64.tar.gz,containerd
crictl-v1.32.0.tar.gz,pkg/crictl/v1.32.0,https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.32.0/crictl-v1.32.0-linux-amd64.tar.gz,https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.32.0/crictl-v1.32.0-linux-arm64.tar.gz,crictl crictl-v1.32.0.tar.gz,pkg/crictl/v1.32.0,https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.32.0/crictl-v1.32.0-linux-amd64.tar.gz,https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.32.0/crictl-v1.32.0-linux-arm64.tar.gz,crictl
etcd-v3.5.18.tar.gz,pkg/etcd/v3.5.18,https://github.com/coreos/etcd/releases/download/v3.5.18/etcd-v3.5.18-linux-amd64.tar.gz,https://github.com/coreos/etcd/releases/download/v3.5.18/etcd-v3.5.18-linux-arm64.tar.gz,etcd etcd-v3.5.18.tar.gz,pkg/etcd/v3.5.18,https://github.com/coreos/etcd/releases/download/v3.5.18/etcd-v3.5.18-linux-amd64.tar.gz,https://github.com/coreos/etcd/releases/download/v3.5.18/etcd-v3.5.18-linux-arm64.tar.gz,etcd
helm-v3.9.0.tar.gz,pkg/helm/v3.9.0,https://get.helm.sh/helm-v3.17.1-linux-amd64.tar.gz,https://get.helm.sh/helm-v3.17.1-linux-arm.tar.gz,helm helm-v3.9.0.tar.gz,pkg/helm/v3.9.0,https://get.helm.sh/helm-v3.17.1-linux-amd64.tar.gz,https://get.helm.sh/helm-v3.17.1-linux-arm.tar.gz,helm

View File

@@ -3,7 +3,7 @@
nameOverride: "" nameOverride: ""
fullnameOverride: "" fullnameOverride: ""
imagePullSecrets: [] imagePullSecrets: []
version: "v2.5.1" version: "v2.5.2"
# Nvidia GPU Parameters # Nvidia GPU Parameters
resourceName: "nvidia.com/gpu" resourceName: "nvidia.com/gpu"

View File

@@ -143,7 +143,7 @@ spec:
priorityClassName: "system-cluster-critical" priorityClassName: "system-cluster-critical"
containers: containers:
- name: app-service - name: app-service
image: beclab/app-service:0.3.26 image: beclab/app-service:0.3.29
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
runAsUser: 0 runAsUser: 0
@@ -361,7 +361,7 @@ spec:
hostNetwork: true hostNetwork: true
containers: containers:
- name: image-service - name: image-service
image: beclab/image-service:0.3.21 image: beclab/image-service:0.3.28
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
runAsUser: 0 runAsUser: 0

View File

@@ -1,6 +1,6 @@
{{ $backupVersion := "0.3.21" }} {{ $backupVersion := "0.3.29" }}
{{ $backup_server_rootpath := printf "%s%s" .Values.rootPath "/rootfs/backup-server" }} {{ $backup_server_rootpath := printf "%s%s" .Values.rootPath "/rootfs/backup-server" }}
--- ---
@@ -35,11 +35,18 @@ spec:
- name: rootfs - name: rootfs
hostPath: hostPath:
path: '{{ .Values.rootPath }}/rootfs' path: '{{ .Values.rootPath }}/rootfs'
- name: shares
hostPath:
path: '{{ .Values.rootPath }}/share'
serviceAccountName: os-internal serviceAccountName: os-internal
containers: containers:
- name: api - name: api
image: beclab/backup-server:v{{ $backupVersion }} image: beclab/backup-server:v{{ $backupVersion }}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: true
privileged: true
runAsUser: 0
command: command:
- /backup-server - /backup-server
- apiserver - apiserver
@@ -65,10 +72,15 @@ spec:
volumeMounts: volumeMounts:
- mountPath: /rootfs - mountPath: /rootfs
name: rootfs name: rootfs
- mountPath: /shares
mountPropagation: Bidirectional
name: shares
- name: controller - name: controller
image: beclab/backup-server:v{{ $backupVersion }} image: beclab/backup-server:v{{ $backupVersion }}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
allowPrivilegeEscalation: true
privileged: true
runAsUser: 0 runAsUser: 0
command: command:
- /backup-server - /backup-server
@@ -94,6 +106,9 @@ spec:
volumeMounts: volumeMounts:
- mountPath: /rootfs - mountPath: /rootfs
name: rootfs name: rootfs
- mountPath: /shares
mountPropagation: Bidirectional
name: shares
--- ---
apiVersion: v1 apiVersion: v1

View File

@@ -200,11 +200,11 @@ spec:
labels: labels:
tier: bfl tier: bfl
annotations: annotations:
# instrumentation.opentelemetry.io/inject-go: "olares-instrumentation" instrumentation.opentelemetry.io/inject-go: "olares-instrumentation"
# instrumentation.opentelemetry.io/go-container-names: "api" instrumentation.opentelemetry.io/go-container-names: "api"
# instrumentation.opentelemetry.io/otel-go-auto-target-exe: "/bfl-api" instrumentation.opentelemetry.io/otel-go-auto-target-exe: "/bfl-api"
# instrumentation.opentelemetry.io/inject-nginx: "olares-instrumentation" instrumentation.opentelemetry.io/inject-nginx: "olares-instrumentation"
# instrumentation.opentelemetry.io/inject-nginx-container-names: "ingress" instrumentation.opentelemetry.io/inject-nginx-container-names: "ingress"
spec: spec:
{{ if .Values.bfl.admin_user }} {{ if .Values.bfl.admin_user }}
affinity: affinity:
@@ -249,7 +249,7 @@ spec:
containers: containers:
- name: api - name: api
image: beclab/bfl:v0.4.3 image: beclab/bfl:v0.4.5
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext: securityContext:
runAsUser: 1000 runAsUser: 1000
@@ -306,7 +306,7 @@ spec:
apiVersion: v1 apiVersion: v1
fieldPath: spec.nodeName fieldPath: spec.nodeName
- name: ingress - name: ingress
image: beclab/bfl-ingress:v0.3.2 image: beclab/bfl-ingress:v0.3.5
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
volumeMounts: volumeMounts:
- name: ngxlog - name: ngxlog

View File

@@ -5,6 +5,10 @@ kind: Instrumentation
metadata: metadata:
name: olares-instrumentation name: olares-instrumentation
namespace: {{ .Release.Namespace }} namespace: {{ .Release.Namespace }}
annotations:
"helm.sh/hook": "pre-install,pre-upgrade"
"helm.sh/hook-weight": "-10"
"helm.sh/hook-delete-policy": "before-hook-creation"
spec: spec:
exporter: exporter:
endpoint: https://jaeger-storage-instance-collector.os-system:4317 endpoint: https://jaeger-storage-instance-collector.os-system:4317
@@ -20,30 +24,46 @@ spec:
- name: OTEL_EXPORTER_OTLP_ENDPOINT - name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://jaeger-storage-instance-collector.os-system:4318 value: http://jaeger-storage-instance-collector.os-system:4318
- name: OTEL_EXPORTER_OTLP_PROTOCOL - name: OTEL_EXPORTER_OTLP_PROTOCOL
value: http/protobuf value: http/json
- name: OTEL_TRACES_SAMPLER_ARG
value: "1.0"
dotnet: dotnet:
env: env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT - name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://jaeger-storage-instance-collector.os-system:4318 value: http://jaeger-storage-instance-collector.os-system:4318
- name: OTEL_EXPORTER_OTLP_PROTOCOL - name: OTEL_EXPORTER_OTLP_PROTOCOL
value: http/protobuf value: http/json
- name: OTEL_TRACES_SAMPLER_ARG
value: "1.0"
nodejs: nodejs:
env: env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT - name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://jaeger-storage-instance-collector.os-system:4318 value: http://jaeger-storage-instance-collector.os-system:4318
- name: OTEL_EXPORTER_OTLP_PROTOCOL - name: OTEL_EXPORTER_OTLP_PROTOCOL
value: http/protobuf value: http/json
- name: OTEL_TRACES_SAMPLER_ARG
value: "1.0"
nginx: nginx:
image: bytetrade/autoinstrumentation-apache-httpd:1.0.4-fix1
env: env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT - name: OTEL_EXPORTER_OTLP_ENDPOINT
value: https://jaeger-storage-instance-collector.os-system:4317 value: http://jaeger-storage-instance-collector.os-system:4318
- name: OTEL_EXPORTER_OTLP_PROTOCOL
value: http/json
- name: OTEL_TRACES_SAMPLER_ARG
value: "1.0"
go: go:
image: ghcr.io/open-telemetry/opentelemetry-go-instrumentation/autoinstrumentation-go:v0.20.0
env: env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT - name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://jaeger-storage-instance-collector.os-system:4318 value: http://jaeger-storage-instance-collector.os-system:4318
- name: OTEL_EXPORTER_OTLP_PROTOCOL - name: OTEL_EXPORTER_OTLP_PROTOCOL
value: http/protobuf value: http/protobuf
- name: OTEL_TRACES_SAMPLER_ARG
value: "1.0"
resourceRequirements:
limits:
memory: 256Mi
--- ---
apiVersion: opentelemetry.io/v1alpha1 apiVersion: opentelemetry.io/v1alpha1
@@ -51,6 +71,11 @@ kind: Instrumentation
metadata: metadata:
name: olares-instrumentation name: olares-instrumentation
namespace: user-system-{{ .Values.bfl.username }} namespace: user-system-{{ .Values.bfl.username }}
annotations:
"helm.sh/hook": "pre-install,pre-upgrade"
"helm.sh/hook-weight": "-10"
"helm.sh/hook-delete-policy": "before-hook-creation"
spec: spec:
exporter: exporter:
endpoint: https://jaeger-storage-instance-collector.os-system:4317 endpoint: https://jaeger-storage-instance-collector.os-system:4317
@@ -66,27 +91,44 @@ spec:
- name: OTEL_EXPORTER_OTLP_ENDPOINT - name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://jaeger-storage-instance-collector.os-system:4318 value: http://jaeger-storage-instance-collector.os-system:4318
- name: OTEL_EXPORTER_OTLP_PROTOCOL - name: OTEL_EXPORTER_OTLP_PROTOCOL
value: http/protobuf value: http/json
- name: OTEL_TRACES_SAMPLER_ARG
value: "1.0"
dotnet: dotnet:
env: env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT - name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://jaeger-storage-instance-collector.os-system:4318 value: http://jaeger-storage-instance-collector.os-system:4318
- name: OTEL_EXPORTER_OTLP_PROTOCOL - name: OTEL_EXPORTER_OTLP_PROTOCOL
value: http/protobuf value: http/json
- name: OTEL_TRACES_SAMPLER_ARG
value: "1.0"
nodejs: nodejs:
env: env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT - name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://jaeger-storage-instance-collector.os-system:4318 value: http://jaeger-storage-instance-collector.os-system:4318
- name: OTEL_EXPORTER_OTLP_PROTOCOL - name: OTEL_EXPORTER_OTLP_PROTOCOL
value: http/protobuf value: http/json
- name: OTEL_TRACES_SAMPLER_ARG
value: "1.0"
nginx: nginx:
image: bytetrade/autoinstrumentation-apache-httpd:1.0.4-fix1
env: env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT - name: OTEL_EXPORTER_OTLP_ENDPOINT
value: https://jaeger-storage-instance-collector.os-system:4317 value: http://jaeger-storage-instance-collector.os-system:4318
- name: OTEL_EXPORTER_OTLP_PROTOCOL
value: http/json
- name: OTEL_TRACES_SAMPLER_ARG
value: "1.0"
go: go:
image: ghcr.io/open-telemetry/opentelemetry-go-instrumentation/autoinstrumentation-go:v0.20.0
env: env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT - name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://jaeger-storage-instance-collector.os-system:4318 value: http://jaeger-storage-instance-collector.os-system:4318
- name: OTEL_EXPORTER_OTLP_PROTOCOL - name: OTEL_EXPORTER_OTLP_PROTOCOL
value: http/protobuf value: http/protobuf
- name: OTEL_TRACES_SAMPLER_ARG
value: "1.0"
resourceRequirements:
limits:
memory: 256Mi

View File

@@ -41,13 +41,17 @@ spec:
metadata: metadata:
labels: labels:
app: systemserver app: systemserver
annotations:
instrumentation.opentelemetry.io/go-container-names: system-server
instrumentation.opentelemetry.io/inject-go: olares-instrumentation
instrumentation.opentelemetry.io/otel-go-auto-target-exe: /system-server
spec: spec:
serviceAccountName: bytetrade-sys-ops serviceAccountName: bytetrade-sys-ops
serviceAccount: bytetrade-sys-ops serviceAccount: bytetrade-sys-ops
priorityClassName: "system-cluster-critical" priorityClassName: "system-cluster-critical"
containers: containers:
- name: system-server - name: system-server
image: beclab/system-server:0.1.21 image: beclab/system-server:0.1.22
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: 80 - containerPort: 80

View File

@@ -83,6 +83,13 @@ spec:
perm: perm:
- pub - pub
- sub - sub
- appName: notifications
appNamespace: {{ .Release.Namespace }}
subjects:
- name: system.users
perm:
- pub
- sub
user: os-system-lldap user: os-system-lldap
--- ---
@@ -164,8 +171,10 @@ spec:
name: lldap-pg-secrets name: lldap-pg-secrets
- name: NATS_SUBJECT - name: NATS_SUBJECT
value: "terminus.{{ .Release.Namespace }}.system.notification" value: "terminus.{{ .Release.Namespace }}.system.notification"
- name: NATS_SUBJECT_SYSTEM_USERS
value: "terminus.{{ .Release.Namespace }}.system.users"
image: beclab/lldap:0.0.1 image: beclab/lldap:0.0.2
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: lldap name: lldap
ports: ports:

View File

@@ -389,10 +389,21 @@ spec:
image: owncloudci/wait-for:latest image: owncloudci/wait-for:latest
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: check-redis name: check-redis
- name: setsysctl
image: 'busybox:1.28'
command:
- sh
- '-c'
- |
sysctl -w net.core.somaxconn=65535
sysctl -w net.ipv4.ip_local_port_range="1024 65535"
sysctl -w net.ipv4.tcp_tw_reuse=1
sysctl -w fs.file-max=1048576
securityContext:
privileged: true
containers: containers:
- name: authelia - name: authelia
image: beclab/auth:0.2.4 image: beclab/auth:0.2.6
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: 9091 - containerPort: 9091

View File

@@ -28,7 +28,7 @@ spec:
name: check-auth name: check-auth
containers: containers:
- name: auth-front - name: auth-front
image: beclab/login:v0.1.40 image: beclab/login:v1.3.57
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- containerPort: 80 - containerPort: 80

View File

@@ -957,27 +957,44 @@ spec:
- name: OTEL_EXPORTER_OTLP_ENDPOINT - name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://jaeger-storage-instance-collector.os-system:4318 value: http://jaeger-storage-instance-collector.os-system:4318
- name: OTEL_EXPORTER_OTLP_PROTOCOL - name: OTEL_EXPORTER_OTLP_PROTOCOL
value: http/protobuf value: http/json
- name: OTEL_TRACES_SAMPLER_ARG
value: "1.0"
dotnet: dotnet:
env: env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT - name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://jaeger-storage-instance-collector.os-system:4318 value: http://jaeger-storage-instance-collector.os-system:4318
- name: OTEL_EXPORTER_OTLP_PROTOCOL - name: OTEL_EXPORTER_OTLP_PROTOCOL
value: http/protobuf value: http/json
- name: OTEL_TRACES_SAMPLER_ARG
value: "1.0"
nodejs: nodejs:
env: env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT - name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://jaeger-storage-instance-collector.os-system:4318 value: http://jaeger-storage-instance-collector.os-system:4318
- name: OTEL_EXPORTER_OTLP_PROTOCOL - name: OTEL_EXPORTER_OTLP_PROTOCOL
value: http/protobuf value: http/json
- name: OTEL_TRACES_SAMPLER_ARG
value: "1.0"
nginx: nginx:
image: bytetrade/autoinstrumentation-apache-httpd:1.0.4-fix1
env: env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT - name: OTEL_EXPORTER_OTLP_ENDPOINT
value: https://jaeger-storage-instance-collector.os-system:4317 value: http://jaeger-storage-instance-collector.os-system:4318
- name: OTEL_EXPORTER_OTLP_PROTOCOL
value: http/json
- name: OTEL_TRACES_SAMPLER_ARG
value: "1.0"
go: go:
image: ghcr.io/open-telemetry/opentelemetry-go-instrumentation/autoinstrumentation-go:v0.20.0
env: env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT - name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://jaeger-storage-instance-collector.os-system:4318 value: http://jaeger-storage-instance-collector.os-system:4318
- name: OTEL_EXPORTER_OTLP_PROTOCOL - name: OTEL_EXPORTER_OTLP_PROTOCOL
value: http/protobuf value: http/protobuf
- name: OTEL_TRACES_SAMPLER_ARG
value: "1.0"
resourceRequirements:
limits:
memory: 256Mi

View File

@@ -1,23 +0,0 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/

View File

@@ -1,26 +0,0 @@
apiVersion: v2
name: opentelemetry
description: A Helm chart for Kubernetes
maintainers:
- name: bytetrade
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.118.0"

View File

@@ -1,62 +0,0 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "seafile.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "seafile.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "seafile.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "seafile.labels" -}}
helm.sh/chart: {{ include "seafile.chart" . }}
{{ include "seafile.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "seafile.selectorLabels" -}}
app.kubernetes.io/name: {{ include "seafile.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Create the name of the service account to use
*/}}
{{- define "seafile.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "seafile.fullname" .) .Values.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}

View File

@@ -1,7 +0,0 @@
bfl:
nodeport: 30883
nodeport_ingress_http: 30083
nodeport_ingress_https: 30082
username: 'test'
url: 'test'
nodeName: test