Skip to content

Commit

Permalink
feat: Default to PG17 (#60)
Browse files Browse the repository at this point in the history
Signed-off-by: Itay Grudev <itay@verito.digital>

Fixed cron database name (#61)

Co-authored-by: Philippe Noël <philippemnoel@gmail.com>

chore: Hardcode version in ParadeDB tests (#66)
Signed-off-by: Itay Grudev <itay@verito.digital>
  • Loading branch information
itay-grudev authored and philippemnoel committed Feb 12, 2025
1 parent f3cfeac commit 3742a7e
Show file tree
Hide file tree
Showing 37 changed files with 42 additions and 641 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The [ParadeDB](https://github.com/paradedb/paradedb) Helm Chart is based on the

Kubernetes, and specifically the CloudNativePG operator, is the recommended approach for deploying ParadeDB in production, with high availability. ParadeDB also provides a [Docker image](https://hub.docker.com/r/paradedb/paradedb) and [prebuilt binaries](https://github.com/paradedb/paradedb/releases) for Debian, Ubuntu and Red Hat Enterprise Linux.

The ParadeDB Helm Chart supports Postgres 13+ and ships with Postgres 16 by default.
The ParadeDB Helm Chart supports Postgres 13+ and ships with Postgres 17 by default.

The chart is also available on [Artifact Hub](https://artifacthub.io/packages/helm/paradedb/paradedb).

Expand Down
4 changes: 2 additions & 2 deletions charts/paradedb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.0 for testing and local development
version: 0.12.0
# We default to v0.12.2 for testing and local development
version: 0.12.2

sources:
- https://github.com/paradedb/charts
Expand Down
4 changes: 2 additions & 2 deletions charts/paradedb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The [ParadeDB](https://github.com/paradedb/paradedb) Helm Chart is based on the

Kubernetes, and specifically the CloudNativePG operator, is the recommended approach for deploying ParadeDB in production, with high availability. ParadeDB also provides a [Docker image](https://hub.docker.com/r/paradedb/paradedb) and [prebuilt binaries](https://github.com/paradedb/paradedb/releases) for Debian, Ubuntu and Red Hat Enterprise Linux.

The ParadeDB Helm Chart supports Postgres 13+ and ships with Postgres 16 by default.
The ParadeDB Helm Chart supports Postgres 13+ and ships with Postgres 17 by default.

The chart is also available on [Artifact Hub](https://artifacthub.io/packages/helm/paradedb/paradedb).

Expand Down Expand Up @@ -313,7 +313,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.0"` | We default to v0.12.0 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 | `"16"` | PostgreSQL major version to use |
| poolers[].name | string | `` | Name of the pooler resource |
| poolers[].instances | number | `1` | The number of replicas we want |
Expand Down
28 changes: 13 additions & 15 deletions charts/paradedb/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The [ParadeDB](https://github.com/paradedb/paradedb) Helm Chart is based on the

Kubernetes, and specifically the CloudNativePG operator, is the recommended approach for deploying ParadeDB in production, with high availability. ParadeDB also provides a [Docker image](https://hub.docker.com/r/paradedb/paradedb) and [prebuilt binaries](https://github.com/paradedb/paradedb/releases) for Debian, Ubuntu and Red Hat Enterprise Linux.

The ParadeDB Helm Chart supports Postgres 13+ and ships with Postgres 16 by default.
The ParadeDB Helm Chart supports Postgres 13+ and ships with Postgres 17 by default.

The chart is also available on [Artifact Hub](https://artifacthub.io/packages/helm/paradedb/paradedb).

Expand Down Expand Up @@ -154,21 +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. |
| 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" . }}

Expand Down
2 changes: 1 addition & 1 deletion charts/paradedb/examples/basic.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
type: postgresql
mode: standalone
version:
postgresql: "16"
postgresql: "17"
cluster:
instances: 1
backups:
Expand Down
4 changes: 2 additions & 2 deletions charts/paradedb/examples/image-catalog-ref.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
type: postgresql
mode: standalone
version:
major: "16"
paradedb: "0.12.0"
major: "17"
paradedb: "0.12.2"
cluster:
instances: 1
imageCatalogRef:
Expand Down
6 changes: 3 additions & 3 deletions charts/paradedb/examples/image-catalog.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
type: postgresql
mode: standalone
version:
major: "16"
paradedb: "0.12.0"
major: "17"
paradedb: "0.12.2"
cluster:
instances: 1
backups:
enabled: false
imageCatalog:
create: true
images:
- major: 16
- major: 17
image: my-custom-postgres-image:mytag
4 changes: 2 additions & 2 deletions charts/paradedb/examples/paradedb.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
type: paradedb
mode: standalone
version:
postgresql: "16.3"
paradedb: "0.12.0"
postgresql: "17.0"
paradedb: "0.12.2"
cluster:
instances: 1
backups:
Expand Down
8 changes: 6 additions & 2 deletions charts/paradedb/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ spec:
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with .Values.cluster.postgresql.pg_ident }}

pg_ident:
{{- toYaml . | nindent 6 }}
{{- end }}
Expand All @@ -89,8 +90,11 @@ spec:
{{ end }}
{{- with .Values.cluster.postgresql.parameters }}
parameters:
{{- toYaml . | nindent 6 }}
{{- end }}
{{ with .parameters }}
{{- toYaml . | nindent 6 }}
{{ end }}
cron.database_name: postgres
{{ end }}

{{- if not (and (empty .Values.cluster.roles) (empty .Values.cluster.services)) }}
managed:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
type: paradedb-enterprise
mode: standalone

version:
major: "16"
paradedb: "0.12.2"
cluster:
instances: 1
storage:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
type: paradedb
mode: standalone

version:
major: "16"
paradedb: "0.12.2"
cluster:
instances: 2
storage:
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 3742a7e

Please sign in to comment.