fix service port

This commit is contained in:
nxn 2022-09-30 14:22:37 +08:00
parent f832fd553c
commit 90010994fc
5 changed files with 9 additions and 9 deletions

View File

@ -41,8 +41,8 @@ spec:
ports:
- name: api-port
protocol: TCP
port: 10002
targetPort: 10002
port: {{ .Values.api.port }}
targetPort: {{ .Values.api.port }}
selector:
app: api
type: NodePort

View File

@ -41,8 +41,8 @@ spec:
ports:
- name: cms-api-port
protocol: TCP
port: 10006
targetPort: 10006
port: {{ .Values.cms_api.port }}
targetPort: {{ .Values.cms_api.port }}
selector:
app: cms-api
type: NodePort

View File

@ -41,8 +41,8 @@ spec:
ports:
- name: demo
protocol: TCP
port: 10004
targetPort: 10004
port: {{ .Values.demo.port }}
targetPort: {{ .Values.demo.port }}
selector:
app: demo
type: NodePort

View File

@ -44,7 +44,7 @@ spec:
ports:
- name: msg-gateway-port
protocol: TCP
port: 10001
port: {{ .Values.msg_gateway.wsport }}
targetPort: ws-port
selector:
app: msg-gateway

View File

@ -47,8 +47,8 @@ spec:
ports:
- name: sdk-server-port
protocol: TCP
port: 10003
targetPort: 10003
port: {{ .Values.sdk_server.port }}
targetPort: {{ .Values.sdk_server.port }}
selector:
app: sdk-server
type: NodePort