pull/249/head
wangchuxiao 2 years ago
parent d7ce455f2f
commit 2db194b9d1

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: admin-cms
image: openim/admin_cms:v2.1.0
image: openim/admin_cms:v2.2.0
# imagePullPolicy: Always #每次启动都重新拉取镜像
ports:
- containerPort: 10200

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: api
image: openim/api:v2.1.0
image: openim/api:v2.2.0
# imagePullPolicy: Always
ports:
- containerPort: 10002

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: auth
image: openim/auth:v2.1.0
image: openim/auth:v2.2.0
# imagePullPolicy: Always
ports:
- containerPort: 10160

@ -2,7 +2,7 @@
source ./path_info.cfg
# images version
version=v2.1.0
version=v2.2.0
git pull
cd ../script/; ./build_all_service.sh
cd ../deploy_k8s/

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: cache
image: openim/cache:v2.1.0
image: openim/cache:v2.2.0
# imagePullPolicy: Always
ports:
- containerPort: 10240

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: cms-api
image: openim/cms_api:v2.1.0
image: openim/cms_api:v2.2.0
imagePullPolicy: Always
ports:
- containerPort: 10006

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: conversation
image: openim/conversation:v2.1.0
image: openim/conversation:v2.2.0
# imagePullPolicy: Always
ports:
- containerPort: 10230

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: demo
image: openim/demo:v2.1.0
image: openim/demo:v2.2.0
imagePullPolicy: Always
ports:
- containerPort: 10004

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: friend
image: openim/friend:v2.1.0
image: openim/friend:v2.2.0
# imagePullPolicy: Always
ports:
- containerPort: 10120

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: group
image: openim/group:v2.1.0
image: openim/group:v2.2.0
# imagePullPolicy: Always
ports:
- containerPort: 10150

@ -48,6 +48,12 @@ kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/Access-Control-Allow-Origin: '*'
nginx.ingress.kubernetes.io/cors-allow-headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization,x-auth-token,Pagination
nginx.ingress.kubernetes.io/cors-allow-methods: 'PUT, GET, POST, OPTIONS'
nginx.ingress.kubernetes.io/cors-allow-origin: '*'
nginx.ingress.kubernetes.io/enable-cors: 'true'
nginx.ingress.kubernetes.io/service-weight: ''
name: api-ingress
spec:
rules:
@ -67,6 +73,12 @@ kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/Access-Control-Allow-Origin: '*'
nginx.ingress.kubernetes.io/cors-allow-headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization,x-auth-token,Pagination
nginx.ingress.kubernetes.io/cors-allow-methods: 'PUT, GET, POST, OPTIONS'
nginx.ingress.kubernetes.io/cors-allow-origin: '*'
nginx.ingress.kubernetes.io/enable-cors: 'true'
nginx.ingress.kubernetes.io/service-weight: ''
name: demo-ingress
spec:
rules:
@ -86,6 +98,12 @@ kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/Access-Control-Allow-Origin: '*'
nginx.ingress.kubernetes.io/cors-allow-headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization,x-auth-token,Pagination
nginx.ingress.kubernetes.io/cors-allow-methods: 'PUT, GET, POST, OPTIONS'
nginx.ingress.kubernetes.io/cors-allow-origin: '*'
nginx.ingress.kubernetes.io/enable-cors: 'true'
nginx.ingress.kubernetes.io/service-weight: ''
name: cms-api-ingress
spec:
rules:

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: message-cms
image: openim/message_cms:v2.1.0
image: openim/message_cms:v2.2.0
# imagePullPolicy: Always
ports:
- containerPort: 10190

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: msg
image: openim/msg:v2.1.0
image: openim/msg:v2.2.0
# imagePullPolicy: Always
ports:
- containerPort: 10130

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: msg-gateway
image: openim/msg_gateway:v2.1.0
image: openim/msg_gateway:v2.2.0
# imagePullPolicy: Always
ports:
- name: rpc-port

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: msg-transfer
image: openim/msg_transfer:v2.1.0
image: openim/msg_transfer:v2.2.0
# imagePullPolicy: Always
volumeMounts:
- name: config

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: office
image: openim/office:v2.1.0
image: openim/office:v2.2.0
# imagePullPolicy: Always
ports:
- containerPort: 10210

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: organization
image: openim/organization:v2.1.0
image: openim/organization:v2.2.0
# imagePullPolicy: Always
ports:
- containerPort: 10220

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: push
image: openim/push:v2.1.0
image: openim/push:v2.2.0
# imagePullPolicy: Always
ports:
- containerPort: 10170

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: sdk-server
image: openim/sdk_server:v2.1.0
image: openim/sdk_server:v2.2.0
# imagePullPolicy: Always
ports:
- containerPort: 10003

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: statistics
image: openim/statistics:v2.1.0
image: openim/statistics:v2.2.0
# imagePullPolicy: Always
ports:
- containerPort: 10180

@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: user
image: openim/user:v2.1.0
image: openim/user:v2.2.0
# imagePullPolicy: Always
volumeMounts:
- name: config

Loading…
Cancel
Save