diff --git a/charts/paradedb/Chart.yaml b/charts/paradedb/Chart.yaml index c25eb8a69..1a9092b39 100644 --- a/charts/paradedb/Chart.yaml +++ b/charts/paradedb/Chart.yaml @@ -20,8 +20,8 @@ icon: https://raw.githubusercontent.com/paradedb/paradedb/main/docs/logo/light.s type: application # The Chart version, set in the publish CI workflow from GitHub Actions Variables -# We default to v0.12.1 for testing and local development -version: 0.12.1 +# We default to v0.12.2 for testing and local development +version: 0.12.2 sources: - https://github.com/paradedb/charts diff --git a/charts/paradedb/README.md b/charts/paradedb/README.md index 69c363ff5..37a52181e 100644 --- a/charts/paradedb/README.md +++ b/charts/paradedb/README.md @@ -307,7 +307,7 @@ refer to the [CloudNativePG Documentation](https://cloudnative-pg.io/documentat | recovery.secret.create | bool | `true` | Whether to create a secret for the backup credentials | | recovery.secret.name | string | `""` | Name of the backup credentials secret | | type | string | `"paradedb"` | Type of the CNPG database. Available types: * `paradedb` * `paradedb-enterprise` | -| version.paradedb | string | `"0.12.1"` | We default to v0.12.1 for testing and local development | +| version.paradedb | string | `"0.12.2"` | We default to v0.12.2 for testing and local development | | version.postgresql | string | `"17"` | PostgreSQL major version to use | | poolers[].name | string | `` | Name of the pooler resource | | poolers[].instances | number | `1` | The number of replicas we want | diff --git a/charts/paradedb/README.md.gotmpl b/charts/paradedb/README.md.gotmpl index 43929fe58..641247267 100644 --- a/charts/paradedb/README.md.gotmpl +++ b/charts/paradedb/README.md.gotmpl @@ -154,9 +154,19 @@ There is a separate document outlining the recovery procedure here: **[Recovery] There are several configuration examples in the [examples](examples) directory. Refer to them for a basic setup and refer to the [CloudNativePG Documentation](https://cloudnative-pg.io/documentation/current/) for more advanced configurations. -## Values - {{ template "chart.valuesSection" . }} +| poolers[].name | string | `` | Name of the pooler resource | +| poolers[].instances | number | `1` | The number of replicas we want | +| poolers[].type | [PoolerType][PoolerType] | `rw` | Type of service to forward traffic to. Default: `rw`. | +| poolers[].poolMode | [PgBouncerPoolMode][PgBouncerPoolMode] | `session` | The pool mode. Default: `session`. | +| poolers[].authQuerySecret | [LocalObjectReference][LocalObjectReference] | `{}` | The credentials of the user that need to be used for the authentication query. | +| poolers[].authQuery | string | `{}` | The credentials of the user that need to be used for the authentication query. | +| poolers[].parameters | map[string]string | `{}` | Additional parameters to be passed to PgBouncer - please check the CNPG documentation for a list of options you can configure | +| poolers[].template | [PodTemplateSpec][PodTemplateSpec] | `{}` | The template of the Pod to be created | +| poolers[].template | [ServiceTemplateSpec][ServiceTemplateSpec] | `{}` | Template for the Service to be created | +| poolers[].pg_hba | []string | `{}` | PostgreSQL Host Based Authentication rules (lines to be appended to the pg_hba.conf file) | +| poolers[].monitoring.enabled | bool | `false` | Whether to enable monitoring for the Pooler. | +| poolers[].monitoring.podMonitor.enabled | bool | `true` | Create a podMonitor for the Pooler. | {{ template "chart.maintainersSection" . }} diff --git a/charts/paradedb/examples/image-catalog-ref.yaml b/charts/paradedb/examples/image-catalog-ref.yaml index c5157409c..385e34030 100644 --- a/charts/paradedb/examples/image-catalog-ref.yaml +++ b/charts/paradedb/examples/image-catalog-ref.yaml @@ -2,7 +2,7 @@ type: postgresql mode: standalone version: major: "16" - paradedb: "0.12.1" + paradedb: "0.12.2" cluster: instances: 1 imageCatalogRef: diff --git a/charts/paradedb/examples/image-catalog.yaml b/charts/paradedb/examples/image-catalog.yaml index 778524354..b3125e57f 100644 --- a/charts/paradedb/examples/image-catalog.yaml +++ b/charts/paradedb/examples/image-catalog.yaml @@ -2,7 +2,7 @@ type: postgresql mode: standalone version: major: "17" - paradedb: "0.12.1" + paradedb: "0.12.2" cluster: instances: 1 backups: diff --git a/charts/paradedb/examples/paradedb.yaml b/charts/paradedb/examples/paradedb.yaml index 5b9e46f36..5046469b0 100644 --- a/charts/paradedb/examples/paradedb.yaml +++ b/charts/paradedb/examples/paradedb.yaml @@ -2,7 +2,7 @@ type: paradedb mode: standalone version: postgresql: "17.0" - paradedb: "0.12.1" + paradedb: "0.12.2" cluster: instances: 1 backups: diff --git a/charts/paradedb/templates/cluster.yaml b/charts/paradedb/templates/cluster.yaml index dabdb8877..d77204984 100644 --- a/charts/paradedb/templates/cluster.yaml +++ b/charts/paradedb/templates/cluster.yaml @@ -68,7 +68,10 @@ spec: pg_ident: {{- toYaml .pg_ident | nindent 6 }} parameters: - {{- toYaml .parameters | nindent 6 }} + {{ with .parameters }} + {{- toYaml . | nindent 6 }} + {{ end }} + cron.database_name: postgres {{ end }} managed: diff --git a/charts/paradedb/values.yaml b/charts/paradedb/values.yaml index 87fe66d48..c76c4de25 100644 --- a/charts/paradedb/values.yaml +++ b/charts/paradedb/values.yaml @@ -13,8 +13,8 @@ version: # -- PostgreSQL major version to use postgresql: "17" # -- The ParadeDB version, set in the publish CI workflow from the latest paradedb/paradedb GitHub tag - # -- We default to v0.12.1 for testing and local development - paradedb: "0.12.1" + # -- We default to v0.12.2 for testing and local development + paradedb: "0.12.2" ### # -- Cluster mode of operation. Available modes: @@ -295,9 +295,7 @@ cluster: postgresql: # -- PostgreSQL configuration options (postgresql.conf) - parameters: - # Required by pg_cron - cron.database_name: postgres + parameters: {} # max_connections: 300 # -- PostgreSQL Host Based Authentication rules (lines to be appended to the pg_hba.conf file) pg_hba: []