1. 不再进行 demo 模块的发布
2. 新增 databus 的发布 3. 设置 ZT 仓库作为发布库
This commit is contained in:
@@ -297,14 +297,14 @@ spec:
|
|||||||
port: 48084
|
port: 48084
|
||||||
targetPort: 48084
|
targetPort: 48084
|
||||||
---
|
---
|
||||||
# zt-module-template
|
# zt-module-databus
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
namespace: ns-f16a3067ca7b434aad127d15eac82503
|
namespace: ns-f16a3067ca7b434aad127d15eac82503
|
||||||
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
|
||||||
@@ -313,15 +313,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
|
||||||
@@ -351,11 +351,11 @@ apiVersion: v1
|
|||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
namespace: ns-f16a3067ca7b434aad127d15eac82503
|
namespace: ns-f16a3067ca7b434aad127d15eac82503
|
||||||
name: zt-module-template
|
name: zt-module-databus
|
||||||
spec:
|
spec:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
selector:
|
selector:
|
||||||
app: zt-module-template
|
app: zt-module-databus
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 48100
|
port: 48100
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@@ -205,7 +205,7 @@
|
|||||||
<name>中铜 ZStack 私服</name>
|
<name>中铜 ZStack 私服</name>
|
||||||
<url>http://172.16.46.63:30708/repository/test/</url>
|
<url>http://172.16.46.63:30708/repository/test/</url>
|
||||||
<releases>
|
<releases>
|
||||||
<enabled>false</enabled>
|
<enabled>true</enabled>
|
||||||
</releases>
|
</releases>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|||||||
Reference in New Issue
Block a user