Skip to content

Commit

Permalink
Merge pull request #355 from percona/K8SPG-617-pg-241
Browse files Browse the repository at this point in the history
K8SPG-617 - Update PG operator chart for 2.4.1 release
  • Loading branch information
jvpasinatto authored Aug 6, 2024
2 parents 0d86d24 + db1ef44 commit 9c50b79
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions charts/pg-db/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: pg-db
description: 'A Helm chart to deploy the PostgreSQL database with the Percona Operator for PostgreSQL'
type: application
version: 2.4.1
appVersion: 2.4.0
version: 2.4.2
appVersion: 2.4.1
home: https://docs.percona.com/percona-operator-for-postgresql/2.0/
maintainers:
- name: tplavcic
Expand Down
10 changes: 5 additions & 5 deletions charts/pg-db/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ To install the chart with the `pg` release name using a dedicated namespace (rec

```sh
helm repo add percona https://percona.github.io/percona-helm-charts/
helm install my-db percona/pg-db --version 2.4.0 --namespace my-namespace
helm install my-db percona/pg-db --version 2.4.1 --namespace my-namespace
```

The chart can be customized using the following configurable parameters:

| Parameter | Description | Default |
| ------------------------------- | ------------------------------------------------------------------------------|-------------------------------------------------------------|
| `finalizers` | Finalizers list | `{}` |
| `crVersion` | CR Cluster Manifest version | `2.4.0` |
| `crVersion` | CR Cluster Manifest version | `2.4.1` |
| `repository` | PostgreSQL container image repository | `percona/percona-postgresql-operator` |
| `image` | Postgres image | `percona/percona-postgresql-operator:2.4.0-ppg16.3-postgres` |
| `image` | Postgres image | `percona/percona-postgresql-operator:2.4.1-ppg16.3-postgres` |
| `imagePullPolicy` | image Pull Policy | `Always` |
| `port` | PostgreSQL port | `5432` |
| `postgresVersion` | PostgreSQL container version tag | `16` |
Expand Down Expand Up @@ -154,7 +154,7 @@ The chart can be customized using the following configurable parameters:
| `backups.restore.enabled` | Enables or disables restoring a previously made backup | `false` |
| `backups.restore.repoName` | Name of the pgBackRest repository that contains the backup to be restored | `repo1` |
| `backups.restore.options` | The pgBackRest command-line options for the pgBackRest restore command | `--type=time` |
| `backups.pgbackrest.image` | Set this variable if you need to use a custom pgBackrest image | `percona/percona-postgresql-operator:2.4.0-ppg16.3-pgbackrest2.51-1` |
| `backups.pgbackrest.image` | Set this variable if you need to use a custom pgBackrest image | `percona/percona-postgresql-operator:2.4.1-ppg16.3-pgbackrest2.51-1` |
| `backups.repos.repo2.s3.bucket` | Storage bucket | `` |
| `backups.repos.repo2.s3.region` | S3-compatible storage name | `` |
| `backups.repos.repo2.s3.endpoint` | S3-compatible storage endpoint | `` |
Expand All @@ -177,7 +177,7 @@ The chart can be customized using the following configurable parameters:
| `proxy.pgBouncer.customTLSSecret.name` | Custom external TLS secret name | `keycloakdb-pgbouncer.tls` |
| `proxy.pgBouncer.securityContext` | The Kubernetes Pod security context for the pgBouncer instance | `{}` |
| `proxy.pgBouncer.affinity.podAntiAffinity` | Pod anti-affinity, allows setting the standard Kubernetes affinity constraints of any complexity | `{}` |
| `proxy.pgBouncer.image` | Set this variable if you need to use a custom pgbouncer image | `percona/percona-postgresql-operator:2.4.0-ppg16.3-pgbouncer1.22.1` |
| `proxy.pgBouncer.image` | Set this variable if you need to use a custom pgbouncer image | `percona/percona-postgresql-operator:2.4.1-ppg16.3-pgbouncer1.22.1` |
| `proxy.pgBouncer.replicas` | The number of pgbouncer instances | `3` |
| `proxy.pgBouncer.resources.requests.cpu` | Container resource request for CPU | `1` |
| `proxy.pgBouncer.resources.requests.memory` | Container resource request for RAM | `128Mi` |
Expand Down
10 changes: 5 additions & 5 deletions charts/pg-db/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ finalizers:
# Set this if you want that operator deletes the ssl objects on cluster deletion
# - percona.com/delete-ssl

crVersion: 2.4.0
crVersion: 2.4.1
repository: percona/percona-postgresql-operator
image: percona/percona-postgresql-operator:2.4.0-ppg16.3-postgres
image: percona/percona-postgresql-operator:2.4.1-ppg16.3-postgres
imagePullPolicy: Always
postgresVersion: 16
# port: 5432
Expand Down Expand Up @@ -224,7 +224,7 @@ instances:
proxy:
pgBouncer:
replicas: 3
image: percona/percona-postgresql-operator:2.4.0-ppg16.3-pgbouncer1.22.1
image: percona/percona-postgresql-operator:2.4.1-ppg16.3-pgbouncer1.22.1
# exposeSuperusers: true
# resources:
# limits:
Expand Down Expand Up @@ -305,7 +305,7 @@ backups:
pgbackrest:
# metadata:
# labels:
image: percona/percona-postgresql-operator:2.4.0-ppg16.3-pgbackrest2.51-1
image: percona/percona-postgresql-operator:2.4.1-ppg16.3-pgbackrest2.51-1
# containers:
# pgbackrest:
# resources:
Expand Down Expand Up @@ -481,7 +481,7 @@ pmm:
# targetInstance: ""

# extensions:
# image: percona/percona-postgresql-operator:2.4.0
# image: percona/percona-postgresql-operator:2.4.1
# imagePullPolicy: Always
# storage:
# type: s3
Expand Down
4 changes: 2 additions & 2 deletions charts/pg-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: pg-operator
description: 'A Helm chart to deploy the Percona Operator for PostgreSQL'
type: application
version: 2.4.0
appVersion: 2.4.0
version: 2.4.1
appVersion: 2.4.1
home: https://docs.percona.com/percona-operator-for-postgresql/2.0/
maintainers:
- name: tplavcic
Expand Down
26 changes: 13 additions & 13 deletions charts/pg-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,30 +26,30 @@ To install the chart with the `pg-operator` release name using a dedicated names

```sh
helm repo add percona https://percona.github.io/percona-helm-charts/
helm install my-operator percona/pg-operator --version 2.4.0 --namespace my-namespace --create-namespace
helm install my-operator percona/pg-operator --version 2.4.1 --namespace my-namespace --create-namespace
```

## Configuration
The following shows the configurable parameters that are relevant to the Helm
Chart.

| Parameter | Description | Default |
| ------------------------------- | ------------------------------------------------------------------------| -------------------------------------------------|
| `image` | PG Operator Container image full path | `percona/percona-postgresql-operator:2.4.0` |
| `imagePullPolicy` | PG Operator Container pull policy | `Always`|
| `resources` | Resource requests and limits | `{}` |
| `nodeSelector` | Labels for Pod assignment | `{}` |
| `logStructured` | Force PG operator to print JSON-wrapped log messages | `false` |
| `logLevel` | PG Operator logging level | `INFO` |
| `disableTelemetry` | Disable sending PG Operator telemetry data to Percona | `false`|
| `watchNamespace` | Set this variable if the target cluster namespace differs from operators namespace | `` |
| `watchAllNamespaces` | K8S Cluster-wide operation | `false` |
| Parameter | Description | Default |
| -------------------- | ---------------------------------------------------------------------------------- | ------------------------------------------- |
| `image` | PG Operator Container image full path | `percona/percona-postgresql-operator:2.4.1` |
| `imagePullPolicy` | PG Operator Container pull policy | `Always` |
| `resources` | Resource requests and limits | `{}` |
| `nodeSelector` | Labels for Pod assignment | `{}` |
| `logStructured` | Force PG operator to print JSON-wrapped log messages | `false` |
| `logLevel` | PG Operator logging level | `INFO` |
| `disableTelemetry` | Disable sending PG Operator telemetry data to Percona | `false` |
| `watchNamespace` | Set this variable if the target cluster namespace differs from operators namespace | `` |
| `watchAllNamespaces` | K8S Cluster-wide operation | `false` |

## Deploy the database
To deploy Percona Operator for PostgreSQL cluster with disabled telemetry run the following command:

```sh
helm install my-db percona/pg-db --version 2.4.0 --namespace my-namespace
helm install my-db percona/pg-db --version 2.4.1 --namespace my-namespace
```

See more about Percona Operator for PostgreSQL deployment in its chart [here](https://github.com/percona/percona-helm-charts/tree/main/charts/pg-db) or in the [Helm chart installation guide](https://www.percona.com/doc/kubernetes-operator-for-postgresql/helm.html).

0 comments on commit 9c50b79

Please sign in to comment.