Skip to content

Commit

Permalink
GEFEST-1331 Конфигурация нескольких хостов для Postgres в чарте Keys
Browse files Browse the repository at this point in the history
  • Loading branch information
salkrr committed Jan 10, 2025
1 parent 0a76273 commit 03168a2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
36 changes: 18 additions & 18 deletions charts/keys/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
12 changes: 6 additions & 6 deletions charts/keys/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -507,7 +507,7 @@ postgres:

ro:
host: ''
port: 5432
port: '5432'
timeout: 3s
name: ''
schema: ''
Expand All @@ -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.
Expand All @@ -526,7 +526,7 @@ postgres:

rw:
host: ''
port: 5432
port: '5432'
timeout: 3s
name: ''
schema: ''
Expand Down

0 comments on commit 03168a2

Please sign in to comment.