Merge branch 'dev' into test

This commit is contained in:
chenbowen
2025-10-17 18:37:03 +08:00
2 changed files with 19 additions and 9 deletions

View File

@@ -279,14 +279,14 @@ spec:
targetPort: 48084 targetPort: 48084
nodePort: 30094 nodePort: 30094
--- ---
# zt-module-template # zt-module-databus
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
namespace: ns-d6a0e78ebd674c279614498e4c57b133 namespace: ns-d6a0e78ebd674c279614498e4c57b133
name: zt-module-template name: zt-module-databus
labels: labels:
app: zt-module-template app: zt-module-databus
annotations: annotations:
version: "VERSION_PLACEHOLDER" version: "VERSION_PLACEHOLDER"
description: DESC_PLACEHOLDER description: DESC_PLACEHOLDER
@@ -295,15 +295,15 @@ spec:
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: zt-module-template app: zt-module-databus
template: template:
metadata: metadata:
labels: labels:
app: zt-module-template app: zt-module-databus
spec: spec:
containers: containers:
- name: zt-module-template - name: zt-module-databus
image: 172.16.46.66:10043/zt/zt-module-template:VERSION_PLACEHOLDER image: 172.16.46.66:10043/zt/zt-module-databus:VERSION_PLACEHOLDER
imagePullPolicy: Always imagePullPolicy: Always
env: env:
- name: TZ - name: TZ
@@ -340,11 +340,11 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
namespace: ns-d6a0e78ebd674c279614498e4c57b133 namespace: ns-d6a0e78ebd674c279614498e4c57b133
name: zt-module-template name: zt-module-databus
spec: spec:
type: NodePort type: NodePort
selector: selector:
app: zt-module-template app: zt-module-databus
ports: ports:
- protocol: TCP - protocol: TCP
port: 48100 port: 48100

View File

@@ -265,6 +265,13 @@ spring:
- Path=/admin-api/bse/** - Path=/admin-api/bse/**
filters: filters:
- RewritePath=/admin-api/bse/v3/api-docs, /v3/api-docs # 配置,保证转发到 /v3/api-docs - RewritePath=/admin-api/bse/v3/api-docs, /v3/api-docs # 配置,保证转发到 /v3/api-docs
## databus-server 服务
- id: databus-admin-api # 路由的编号
uri: grayLb://databus-server
predicates: # 断言,作为路由的匹配条件,对应 RouteDefinition 数组
- Path=/admin-api/databus/**
filters:
- RewritePath=/admin-api/databus/v3/api-docs, /v3/api-docs # 配置,保证转发到 /v3/api-docs
x-forwarded: x-forwarded:
prefix-enabled: false # 避免 Swagger 重复带上额外的 /admin-api/system 前缀 prefix-enabled: false # 避免 Swagger 重复带上额外的 /admin-api/system 前缀
@@ -346,6 +353,9 @@ knife4j:
- name: base-bse-server - name: base-bse-server
service-name: base-server service-name: base-server
url: /admin-api/bse/v3/api-docs url: /admin-api/bse/v3/api-docs
- name: databus-server
service-name: databus-server
url: /admin-api/databus/v3/api-docs
--- #################### 芋道相关配置 #################### --- #################### 芋道相关配置 ####################