Merge branch 'dev' into test
This commit is contained in:
@@ -279,14 +279,14 @@ spec:
|
||||
targetPort: 48084
|
||||
nodePort: 30094
|
||||
---
|
||||
# zt-module-template
|
||||
# zt-module-databus
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
namespace: ns-d6a0e78ebd674c279614498e4c57b133
|
||||
name: zt-module-template
|
||||
name: zt-module-databus
|
||||
labels:
|
||||
app: zt-module-template
|
||||
app: zt-module-databus
|
||||
annotations:
|
||||
version: "VERSION_PLACEHOLDER"
|
||||
description: DESC_PLACEHOLDER
|
||||
@@ -295,15 +295,15 @@ spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: zt-module-template
|
||||
app: zt-module-databus
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: zt-module-template
|
||||
app: zt-module-databus
|
||||
spec:
|
||||
containers:
|
||||
- name: zt-module-template
|
||||
image: 172.16.46.66:10043/zt/zt-module-template:VERSION_PLACEHOLDER
|
||||
- name: zt-module-databus
|
||||
image: 172.16.46.66:10043/zt/zt-module-databus:VERSION_PLACEHOLDER
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
- name: TZ
|
||||
@@ -340,11 +340,11 @@ apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
namespace: ns-d6a0e78ebd674c279614498e4c57b133
|
||||
name: zt-module-template
|
||||
name: zt-module-databus
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app: zt-module-template
|
||||
app: zt-module-databus
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 48100
|
||||
|
||||
@@ -265,6 +265,13 @@ spring:
|
||||
- Path=/admin-api/bse/**
|
||||
filters:
|
||||
- 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:
|
||||
prefix-enabled: false # 避免 Swagger 重复带上额外的 /admin-api/system 前缀
|
||||
|
||||
@@ -346,6 +353,9 @@ knife4j:
|
||||
- name: base-bse-server
|
||||
service-name: base-server
|
||||
url: /admin-api/bse/v3/api-docs
|
||||
- name: databus-server
|
||||
service-name: databus-server
|
||||
url: /admin-api/databus/v3/api-docs
|
||||
|
||||
--- #################### 芋道相关配置 ####################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user