Skip to content

Commit 4a3f4c2

Browse files
authored
docs: grpc tls options (#1915)
Signed-off-by: Lei, HUANG <[email protected]>
1 parent 97e68b1 commit 4a3f4c2

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

docs/user-guide/deployments-administration/configuration.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -191,16 +191,16 @@ The following table describes the options in detail:
191191
| | addr | String | Server address, "127.0.0.1:4003" by default |
192192
| | runtime_size | Integer | The number of server worker threads, 2 by default |
193193

194-
For MySQL and Postgres interface, TLS can be configured to enable transport
194+
For MySQL, Postgres and gRPC interface, TLS can be configured to enable transport
195195
layer security.
196196

197-
| Option | Key | Type | Description |
198-
| ----------------------------- | ----------- | ------- | ------------------------------------------------------------- |
199-
| `mysql.tls` or `postgres.tls` | | | TLS configuration for MySQL and Postgres |
200-
| | `mode` | String | TLS mode, options are `disable`, `prefer` and `require` |
201-
| | `cert_path` | String | File path for TLS certificate |
202-
| | `key_path` | String | File path for TLS private key |
203-
| | `watch` | Boolean | Watch file system changes and reload certificate and key file |
197+
| Option | Key | Type | Description |
198+
| ------------------------------------------| ----------- | ------- | ------------------------------------------------------------- |
199+
| `mysql.tls`, `postgres.tls` or `grpc.tls` | | | TLS configuration for MySQL and Postgres |
200+
| | `mode` | String | TLS mode, options are `disable`, `prefer` and `require` |
201+
| | `cert_path` | String | File path for TLS certificate |
202+
| | `key_path` | String | File path for TLS private key |
203+
| | `watch` | Boolean | Watch file system changes and reload certificate and key file |
204204

205205
### Query options
206206

i18n/zh/docusaurus-plugin-content-docs/current/user-guide/deployments-administration/configuration.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -179,15 +179,15 @@ enable = true
179179
| | addr | 字符串 | 服务器地址,默认为 "127.0.0.1:4003" |
180180
| | runtime_size | 整数 | 服务器工作线程数量,默认为 2 |
181181

182-
对 MySQL 和 Postgres 接口,我们支持 TLS 配置
183-
184-
| Option | Key | Type | Description |
185-
|-------------------------------|-------------|---------|--------------------------------------------------|
186-
| `mysql.tls``postgres.tls` | | | MySQL 或 Postgres 的 TLS 配置 |
187-
| | `mode` | String | TLS 模式,支持 `disable`, `prefer` and `require` |
188-
| | `cert_path` | String | TLS 证书文件路径 |
189-
| | `key_path` | String | TLS 私钥文件路径 |
190-
| | `watch` | Boolean | 监控文件变化,自动重新加载证书或私钥 |
182+
对 MySQL,PostgresgRPC 接口,我们支持 TLS 配置
183+
184+
| Option | Key | Type | Description |
185+
|------------------------------------------|-------------|---------|--------------------------------------------------|
186+
| `mysql.tls``postgres.tls``grpc.tls` | | | MySQL 或 Postgres 的 TLS 配置 |
187+
| | `mode` | String | TLS 模式,支持 `disable`, `prefer` and `require` |
188+
| | `cert_path` | String | TLS 证书文件路径 |
189+
| | `key_path` | String | TLS 私钥文件路径 |
190+
| | `watch` | Boolean | 监控文件变化,自动重新加载证书或私钥 |
191191

192192
### 查询选项
193193

0 commit comments

Comments
 (0)