From 0d5ae8846b1b294953fd2a05d1b97cc2684a90d1 Mon Sep 17 00:00:00 2001 From: Kirill Salnikov Date: Wed, 4 Dec 2024 22:36:16 +0300 Subject: [PATCH] =?UTF-8?q?GEFEST-1331=20=D0=9A=D0=BE=D0=BD=D1=84=D0=B8?= =?UTF-8?q?=D0=B3=D1=83=D1=80=D0=B0=D1=86=D0=B8=D1=8F=20=D0=BD=D0=B5=D1=81?= =?UTF-8?q?=D0=BA=D0=BE=D0=BB=D1=8C=D0=BA=D0=B8=D1=85=20=D1=85=D0=BE=D1=81?= =?UTF-8?q?=D1=82=D0=BE=D0=B2=20=D0=B4=D0=BB=D1=8F=20Postgres=20=D0=B2=20?= =?UTF-8?q?=D1=87=D0=B0=D1=80=D1=82=D0=B5=20Keys?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- charts/keys/README.md | 8 ++++---- charts/keys/values.yaml | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/charts/keys/README.md b/charts/keys/README.md index 169d4cdf..8e4912f1 100644 --- a/charts/keys/README.md +++ b/charts/keys/README.md @@ -208,8 +208,8 @@ See the [documentation](https://docs.2gis.com/en/on-premise/keys) to learn about | 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.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. | `""` | @@ -220,8 +220,8 @@ See the [documentation](https://docs.2gis.com/en/on-premise/keys) to learn about | `postgres.ro.tls.clientCert` | client certificate. **Required for mode `verify-full`**. | `""` | | `postgres.ro.tls.clientKey` | client private key. **Required for mode `verify-full`**. | `""` | | `postgres.rw` | **Settings for the read-write access** | | -| `postgres.rw.host` | PostgreSQL hostname or IP. **Required** | `""` | -| `postgres.rw.port` | PostgreSQL port. | `5432` | +| `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. | `""` | diff --git a/charts/keys/values.yaml b/charts/keys/values.yaml index 83b9a310..18b3a6d1 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. @@ -511,7 +511,7 @@ postgres: ro: host: '' - port: 5432 + port: '5432' timeout: 3s name: '' schema: '' @@ -525,8 +525,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. @@ -539,7 +539,7 @@ postgres: rw: host: '' - port: 5432 + port: '5432' timeout: 3s name: '' schema: ''