Files
open-im-server-deploy/deployments/deploy/openim-rpc-auth-deployment.yml
kim.dev.6789 e50142a3b9 复制项目
2026-01-14 22:16:44 +08:00

40 lines
989 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: auth-rpc-server
spec:
replicas: 1
selector:
matchLabels:
app: auth-rpc-server
template:
metadata:
labels:
app: auth-rpc-server
spec:
imagePullSecrets:
- name: dockerhub-secret
containers:
- name: auth-rpc-server-container
image: mag1666888/openim-rpc-auth:prod
imagePullPolicy: Always
env:
- name: CONFIG_PATH
value: "/config"
- name: IMENV_REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: openim-redis-secret
key: redis-password
volumeMounts:
- name: openim-config
mountPath: "/config"
readOnly: true
ports:
- containerPort: 10200
- containerPort: 12200
volumes:
- name: openim-config
configMap:
name: openim-config