diff --git a/charts/keys/README.md b/charts/keys/README.md index 0a7059dd..e4a2e45c 100644 --- a/charts/keys/README.md +++ b/charts/keys/README.md @@ -205,24 +205,24 @@ See the [documentation](https://docs.2gis.com/en/on-premise/keys) to learn about ### Database access settings -| Name | Description | Value | -| ---------------------- | ----------------------------------------------------------------------------------- | ------ | -| `postgres.ro` | **Settings for the read-only access** | | -| `postgres.ro.host` | PostgreSQL hostname or IP. **Required** | `""` | -| `postgres.ro.port` | PostgreSQL port. | `5432` | -| `postgres.ro.timeout` | PostgreSQL client connection timeout. | `3s` | -| `postgres.ro.name` | PostgreSQL database name. **Required** | `""` | -| `postgres.ro.schema` | PostgreSQL database schema. If not specified, schema from SEARCH_PATH will be used. | `""` | -| `postgres.ro.username` | PostgreSQL username. **Required** | `""` | -| `postgres.ro.password` | PostgreSQL password. **Required** | `""` | -| `postgres.rw` | **Settings for the read-write access** | | -| `postgres.rw.host` | PostgreSQL hostname or IP. **Required** | `""` | -| `postgres.rw.port` | PostgreSQL port. | `5432` | -| `postgres.rw.timeout` | PostgreSQL client connection timeout. | `3s` | -| `postgres.rw.name` | PostgreSQL database name. **Required** | `""` | -| `postgres.rw.schema` | PostgreSQL database schema. If not specified, schema from SEARCH_PATH will be used. | `""` | -| `postgres.rw.username` | PostgreSQL username. **Required** | `""` | -| `postgres.rw.password` | PostgreSQL password. **Required** | `""` | +| Name | Description | Value | +| ---------------------- | ---------------------------------------------------------------------------------------------------------------- | ------ | +| `postgres.ro` | **Settings for the read-only access** | | +| `postgres.ro.host` | PostgreSQL one or multiple hostnames or IPs separated by comma (e.g. 'host1,host2,10.0.0.1'). **Required** | `""` | +| `postgres.ro.port` | PostgreSQL one or multiple ports (one for each host). Values must be separated by comma (e.g. '1234,4567,5432'). | `5432` | +| `postgres.ro.timeout` | PostgreSQL client connection timeout. | `3s` | +| `postgres.ro.name` | PostgreSQL database name. **Required** | `""` | +| `postgres.ro.schema` | PostgreSQL database schema. If not specified, schema from SEARCH_PATH will be used. | `""` | +| `postgres.ro.username` | PostgreSQL username. **Required** | `""` | +| `postgres.ro.password` | PostgreSQL password. **Required** | `""` | +| `postgres.rw` | **Settings for the read-write access** | | +| `postgres.rw.host` | PostgreSQL one or multiple hostnames or IPs separated by comma (e.g. 'host1,host2,host3'). **Required** | `""` | +| `postgres.rw.port` | PostgreSQL one or multiple ports (one for each host). Values must be separated by comma (e.g. '1234,4567,5432'). | `5432` | +| `postgres.rw.timeout` | PostgreSQL client connection timeout. | `3s` | +| `postgres.rw.name` | PostgreSQL database name. **Required** | `""` | +| `postgres.rw.schema` | PostgreSQL database schema. If not specified, schema from SEARCH_PATH will be used. | `""` | +| `postgres.rw.username` | PostgreSQL username. **Required** | `""` | +| `postgres.rw.password` | PostgreSQL password. **Required** | `""` | ### Kafka settings diff --git a/charts/keys/values.yaml b/charts/keys/values.yaml index 1dc1363f..9f0d1f69 100644 --- a/charts/keys/values.yaml +++ b/charts/keys/values.yaml @@ -497,8 +497,8 @@ postgres: # @extra postgres.ro **Settings for the read-only access** - # @param postgres.ro.host PostgreSQL hostname or IP. **Required** - # @param postgres.ro.port PostgreSQL port. + # @param postgres.ro.host PostgreSQL one or multiple hostnames or IPs separated by comma (e.g. 'host1,host2,10.0.0.1'). **Required** + # @param postgres.ro.port PostgreSQL one or multiple ports (one for each host). Values must be separated by comma (e.g. '1234,4567,5432'). # @param postgres.ro.timeout PostgreSQL client connection timeout. # @param postgres.ro.name PostgreSQL database name. **Required** # @param postgres.ro.schema PostgreSQL database schema. If not specified, schema from SEARCH_PATH will be used. @@ -507,7 +507,7 @@ postgres: ro: host: '' - port: 5432 + port: '5432' timeout: 3s name: '' schema: '' @@ -516,8 +516,8 @@ postgres: # @extra postgres.rw **Settings for the read-write access** - # @param postgres.rw.host PostgreSQL hostname or IP. **Required** - # @param postgres.rw.port PostgreSQL port. + # @param postgres.rw.host PostgreSQL one or multiple hostnames or IPs separated by comma (e.g. 'host1,host2,host3'). **Required** + # @param postgres.rw.port PostgreSQL one or multiple ports (one for each host). Values must be separated by comma (e.g. '1234,4567,5432'). # @param postgres.rw.timeout PostgreSQL client connection timeout. # @param postgres.rw.name PostgreSQL database name. **Required** # @param postgres.rw.schema PostgreSQL database schema. If not specified, schema from SEARCH_PATH will be used. @@ -526,7 +526,7 @@ postgres: rw: host: '' - port: 5432 + port: '5432' timeout: 3s name: '' schema: ''