update contents.

pull/2973/head
Monet Lee 9 months ago
parent e6f6684820
commit 6510b5282c

@ -50,6 +50,7 @@ In `openim-config.yml`, you need modify the following configurations:
**redis.yml** **redis.yml**
- `address`: set to your already redis address or redis Service name and port in your deployed. - `address`: set to your already redis address or redis Service name and port in your deployed.
- `password`: **need to set to secret use base64 encode.**
**minio.yml** **minio.yml**
@ -65,7 +66,7 @@ A Secret is an object that contains a small amount of sensitive data. Such as pa
#### Example: #### Example:
create a secret for redis password. You can create new file is `redis-secret.yml` or append to `openim-config.yml` use `---` split it. create a secret for redis password. You can create new file is `redis-secret.yml` or append contents to `openim-config.yml` use `---` split it.
```yaml ```yaml
apiVersion: v1 apiVersion: v1
@ -87,12 +88,12 @@ OpenIM Server use prefix `IMENV_`, OpenIM Chat use prefix `CHATENV_`. Next adapt
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: group-user-server name: rpc-user-server
spec: spec:
template: template:
spec: spec:
containers: containers:
- name: group-user-server - name: rpc-user-server
env: env:
- name: IMENV_REDIS_PASSWORD # adapt to redis.yml password field - name: IMENV_REDIS_PASSWORD # adapt to redis.yml password field
valueFrom: valueFrom:

Loading…
Cancel
Save