From 3f6bc2bf36505ea63d638226e1e035a5f20c8256 Mon Sep 17 00:00:00 2001 From: eball Date: Mon, 24 Nov 2025 23:54:06 +0800 Subject: [PATCH] app-service, tapr: implement shared entrances (#2098) * app-service, tapr: implement shared entrances * Update app-service image version to 0.4.46 --- .../crds/app.bytetrade.io_applications.yaml | 40 +++++++++++++++++++ .../cluster/deploy/appservice_deploy.yaml | 2 +- .../cluster/deploy/sys_event_deploy.yaml | 2 +- 3 files changed, 42 insertions(+), 2 deletions(-) diff --git a/framework/app-service/.olares/config/cluster/crds/app.bytetrade.io_applications.yaml b/framework/app-service/.olares/config/cluster/crds/app.bytetrade.io_applications.yaml index 2d2d9d2e4..18046c15e 100644 --- a/framework/app-service/.olares/config/cluster/crds/app.bytetrade.io_applications.yaml +++ b/framework/app-service/.olares/config/cluster/crds/app.bytetrade.io_applications.yaml @@ -159,6 +159,46 @@ spec: type: string description: the extend settings of the application type: object + sharedEntrances: + description: SharedEntrances contains entrances shared with other + applications + items: + description: Entrance contains details for application entrance + properties: + authLevel: + type: string + host: + type: string + icon: + description: Optional. if invisible=true. + type: string + invisible: + type: boolean + name: + type: string + openMethod: + description: |- + openMethod has three choices default, iframe, window + Optional. if invisible=true. + type: string + port: + format: int32 + type: integer + skip: + type: boolean + title: + description: Optional. if invisible=true. + type: string + url: + type: string + windowPushState: + type: boolean + required: + - host + - name + - port + type: object + type: array tailscale: properties: acls: diff --git a/framework/app-service/.olares/config/cluster/deploy/appservice_deploy.yaml b/framework/app-service/.olares/config/cluster/deploy/appservice_deploy.yaml index 7e3c398cc..705f52896 100644 --- a/framework/app-service/.olares/config/cluster/deploy/appservice_deploy.yaml +++ b/framework/app-service/.olares/config/cluster/deploy/appservice_deploy.yaml @@ -170,7 +170,7 @@ spec: priorityClassName: "system-cluster-critical" containers: - name: app-service - image: beclab/app-service:0.4.44 + image: beclab/app-service:0.4.46 imagePullPolicy: IfNotPresent securityContext: runAsUser: 0 diff --git a/platform/tapr/.olares/config/cluster/deploy/sys_event_deploy.yaml b/platform/tapr/.olares/config/cluster/deploy/sys_event_deploy.yaml index 522213777..5f98f98d9 100644 --- a/platform/tapr/.olares/config/cluster/deploy/sys_event_deploy.yaml +++ b/platform/tapr/.olares/config/cluster/deploy/sys_event_deploy.yaml @@ -78,7 +78,7 @@ spec: runAsUser: 0 containers: - name: tapr-sysevent - image: beclab/sys-event:0.2.13 + image: beclab/sys-event:0.2.14 imagePullPolicy: IfNotPresent ---