@ -23,7 +23,7 @@ spec:
- name: config
mountPath: /Open-IM-Server/config
readOnly: true
- name: usualConfig
- name: usualconfig
env:
@ -34,10 +34,10 @@ spec:
volumes:
configMap:
name: openim-config
name: config
name: openim-usualConfig
name: usualconfig
strategy: #更新策略
type: RollingUpdate # 滚动更新
@ -35,9 +35,9 @@ spec:
---
@ -34,9 +34,9 @@ spec:
@ -35,7 +35,7 @@ spec:
@ -35,10 +35,10 @@ spec:
@ -20,7 +20,7 @@
2. 在项目根目录通过config/config.yaml
```
kubectl -n openim create configmap config --from-file=config/config.yaml
kubectl -n openim create configmap usualConfig --from-file=config/usualConfig.yaml
kubectl -n openim create configmap usualconfig --from-file=config/usualConfig.yaml
查看configmap
@ -26,7 +26,7 @@ spec:
@ -37,10 +37,10 @@ spec:
@ -21,7 +21,7 @@ spec:
@ -32,9 +32,9 @@ spec: