Skip to content

Commit

Permalink
[PRO-6515] Заскипал параметры PG для tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
v-loboda committed Dec 25, 2024
1 parent c19ff69 commit ef9d853
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 41 deletions.
40 changes: 14 additions & 26 deletions charts/pro-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
19 changes: 4 additions & 15 deletions charts/pro-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -501,21 +501,10 @@ postgres:
username: ''
password: ''
ro: null
# @extra postgres.tasks. Settings for Tasks API database connection

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.

Check failure on line 504 in charts/pro-api/values.yaml

View workflow job for this annotation

GitHub Actions / lint

504:1 [trailing-spaces] trailing spaces
# @skip postgres.tasks

tasks:

Check failure on line 507 in charts/pro-api/values.yaml

View workflow job for this annotation

GitHub Actions / lint

507:9 [trailing-spaces] trailing spaces

rw:
host: ''
Expand Down

0 comments on commit ef9d853

Please sign in to comment.