From ae253e2cf46060d6c31e2113a1efaa122d991698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=BE=D0=B1=D0=BE=D0=B4=D0=B0=20=D0=92=D0=BB=D0=B0?= =?UTF-8?q?=D0=B4=D0=B8=D0=BC=D0=B8=D1=80?= Date: Wed, 25 Dec 2024 18:01:45 +0700 Subject: [PATCH] =?UTF-8?q?[PRO-6515]=20=D0=97=D0=B0=D1=81=D0=BA=D0=B8?= =?UTF-8?q?=D0=BF=D0=B0=D0=BB=20=D0=BF=D0=B0=D1=80=D0=B0=D0=BC=D0=B5=D1=82?= =?UTF-8?q?=D1=80=D1=8B=20PG=20=D0=B4=D0=BB=D1=8F=20tasks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- charts/pro-api/README.md | 40 +++++++++++++------------------------- charts/pro-api/values.yaml | 15 +------------- 2 files changed, 15 insertions(+), 40 deletions(-) diff --git a/charts/pro-api/README.md b/charts/pro-api/README.md index f5cc2fd8..e3fe656d 100644 --- a/charts/pro-api/README.md +++ b/charts/pro-api/README.md @@ -171,32 +171,20 @@ ### PostgreSQL settings -| Name | Description | Value | -| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ------ | -| `postgres.api.` | Settings for Geo API database connection | | -| `postgres.api.rw.` | Settings for the read-write access. Same settings for read-only access can be added, if necessary (postgres.api.ro). | | -| `postgres.api.rw.host` | PostgreSQL hostname or IP. **Required** | `""` | -| `postgres.api.rw.port` | PostgreSQL port. **Required** | `5432` | -| `postgres.api.rw.timeout` | PostgreSQL client connection timeout in seconds. | `15` | -| `postgres.api.rw.poolSize.` | Settings for the pool size | | -| `postgres.api.rw.poolSize.min` | PostgreSQL minimum connection pool size. 0 means no minimal bound. | `1` | -| `postgres.api.rw.poolSize.max` | PostgreSQL maximum connection pool size | `10` | -| `postgres.api.rw.name` | PostgreSQL database name. **Required** | `""` | -| `postgres.api.rw.username` | PostgreSQL username. **Required** | `""` | -| `postgres.api.rw.password` | PostgreSQL password. **Required** | `""` | -| `postgres.api.ro` | Settings for the read-only access. | `nil` | -| `postgres.tasks.` | Settings for Tasks API database connection | | -| `postgres.tasks.rw.` | Settings for the read-write access. Same settings for read-only access can be added, if necessary (postgres.tasks.ro). | | -| `postgres.tasks.rw.host` | PostgreSQL hostname or IP. **Required** | `""` | -| `postgres.tasks.rw.port` | PostgreSQL port. **Required** | `5432` | -| `postgres.tasks.rw.timeout` | PostgreSQL client connection timeout in seconds. | `15` | -| `postgres.tasks.rw.poolSize.` | Settings for the pool size. | | -| `postgres.tasks.rw.poolSize.min` | PostgreSQL minimum connection pool size. 0 means no minimal bound. | `1` | -| `postgres.tasks.rw.poolSize.max` | PostgreSQL maximum connection pool size. | `5` | -| `postgres.tasks.rw.name` | PostgreSQL database name. **Required** | `""` | -| `postgres.tasks.rw.username` | PostgreSQL username. **Required** | `""` | -| `postgres.tasks.rw.password` | PostgreSQL password. **Required** | `""` | -| `postgres.tasks.ro` | Settings for the read-only access. | `nil` | +| Name | Description | Value | +| ------------------------------ | -------------------------------------------------------------------------------------------------------------------- | ------ | +| `postgres.api.` | Settings for Geo API database connection | | +| `postgres.api.rw.` | Settings for the read-write access. Same settings for read-only access can be added, if necessary (postgres.api.ro). | | +| `postgres.api.rw.host` | PostgreSQL hostname or IP. **Required** | `""` | +| `postgres.api.rw.port` | PostgreSQL port. **Required** | `5432` | +| `postgres.api.rw.timeout` | PostgreSQL client connection timeout in seconds. | `15` | +| `postgres.api.rw.poolSize.` | Settings for the pool size | | +| `postgres.api.rw.poolSize.min` | PostgreSQL minimum connection pool size. 0 means no minimal bound. | `1` | +| `postgres.api.rw.poolSize.max` | PostgreSQL maximum connection pool size | `10` | +| `postgres.api.rw.name` | PostgreSQL database name. **Required** | `""` | +| `postgres.api.rw.username` | PostgreSQL username. **Required** | `""` | +| `postgres.api.rw.password` | PostgreSQL password. **Required** | `""` | +| `postgres.api.ro` | Settings for the read-only access. | `nil` | ### Kafka settings (supported version 2.7) diff --git a/charts/pro-api/values.yaml b/charts/pro-api/values.yaml index 6d9e83f0..dd8cd909 100644 --- a/charts/pro-api/values.yaml +++ b/charts/pro-api/values.yaml @@ -501,22 +501,9 @@ postgres: username: '' password: '' ro: null - # @extra postgres.tasks. Settings for Tasks API database connection + # @skip postgres.tasks tasks: - - # @extra postgres.tasks.rw. Settings for the read-write access. Same settings for read-only access can be added, if necessary (postgres.tasks.ro). - # @param postgres.tasks.rw.host PostgreSQL hostname or IP. **Required** - # @param postgres.tasks.rw.port PostgreSQL port. **Required** - # @param postgres.tasks.rw.timeout PostgreSQL client connection timeout in seconds. - # @extra postgres.tasks.rw.poolSize. Settings for the pool size. - # @param postgres.tasks.rw.poolSize.min PostgreSQL minimum connection pool size. 0 means no minimal bound. - # @param postgres.tasks.rw.poolSize.max PostgreSQL maximum connection pool size. - # @param postgres.tasks.rw.name PostgreSQL database name. **Required** - # @param postgres.tasks.rw.username PostgreSQL username. **Required** - # @param postgres.tasks.rw.password PostgreSQL password. **Required** - # @param postgres.tasks.ro Settings for the read-only access. - rw: host: '' port: 5432