bump to v2.0.3 (#3191)

* bump to v2.0.3

* minor update to docs
This commit is contained in:
Felix Kunde
2026-10-02 10:49:59 +02:00
committed by GitHub
parent 5dce164427
commit 80b7a074ad
27 changed files with 98 additions and 53 deletions
@@ -9,7 +9,7 @@ assignees: ''
Please, answer some short questions which should help us to understand your problem / question better? Please, answer some short questions which should help us to understand your problem / question better?
- **Which image of the operator are you using?** e.g. ghcr.io/zalando/postgres-operator:v2.0.2 - **Which image of the operator are you using?** e.g. ghcr.io/zalando/postgres-operator:v2.0.3
- **Where do you run it - cloud or metal? Kubernetes or OpenShift?** [AWS K8s | GCP ... | Bare Metal K8s] - **Where do you run it - cloud or metal? Kubernetes or OpenShift?** [AWS K8s | GCP ... | Bare Metal K8s]
- **Are you running Postgres Operator in production?** [yes | no] - **Are you running Postgres Operator in production?** [yes | no]
- **Type of issue?** [Bug report, question, feature request, etc.] - **Type of issue?** [Bug report, question, feature request, etc.]
+1 -1
View File
@@ -64,7 +64,7 @@ production for over five years.
| Release | Postgres versions | K8s versions | Golang | | Release | Postgres versions | K8s versions | Golang |
| :-------- | :---------------: | :---------------: | :-----: | | :-------- | :---------------: | :---------------: | :-----: |
| v2.0.2 | 14 → 18 | 1.27+ | 1.26.4 | | v2.0.3 | 14 → 18 | 1.27+ | 1.26.4 |
| v1.15.1 | 13 → 17 | 1.27+ | 1.25.3 | | v1.15.1 | 13 → 17 | 1.27+ | 1.25.3 |
| v1.14.0 | 13 → 17 | 1.27+ | 1.23.4 | | v1.14.0 | 13 → 17 | 1.27+ | 1.23.4 |
| v1.13.0 | 12 → 16 | 1.27+ | 1.22.5 | | v1.13.0 | 12 → 16 | 1.27+ | 1.22.5 |
+2 -2
View File
@@ -1,7 +1,7 @@
apiVersion: v2 apiVersion: v2
name: postgres-operator-ui name: postgres-operator-ui
version: 2.0.2 version: 2.0.3
appVersion: 2.0.2 appVersion: 2.0.3
home: https://github.com/zalando/postgres-operator home: https://github.com/zalando/postgres-operator
description: Postgres Operator UI provides a graphical interface for a convenient database-as-a-service user experience description: Postgres Operator UI provides a graphical interface for a convenient database-as-a-service user experience
keywords: keywords:
+30 -7
View File
@@ -1,9 +1,32 @@
apiVersion: v1 apiVersion: v1
entries: entries:
postgres-operator-ui: postgres-operator-ui:
- apiVersion: v2
appVersion: 2.0.3
created: "2026-09-24T14:54:24.170009+02:00"
description: Postgres Operator UI provides a graphical interface for a convenient
database-as-a-service user experience
digest: f130d55770f4eab524f179a7316117504e7c53d063c703140f55652d8c475152
home: https://github.com/zalando/postgres-operator
keywords:
- postgres
- operator
- ui
- cloud-native
- patroni
- spilo
maintainers:
- email: opensource@zalando.de
name: Zalando
name: postgres-operator-ui
sources:
- https://github.com/zalando/postgres-operator
urls:
- postgres-operator-ui-2.0.3.tgz
version: 2.0.3
- apiVersion: v2 - apiVersion: v2
appVersion: 2.0.2 appVersion: 2.0.2
created: "2026-09-01T16:41:12.626492+02:00" created: "2026-09-24T14:54:24.169638+02:00"
description: Postgres Operator UI provides a graphical interface for a convenient description: Postgres Operator UI provides a graphical interface for a convenient
database-as-a-service user experience database-as-a-service user experience
digest: 748ca68be5f190ecf2f80b547f3d3d4e473b9ea0735feb7f39692eb22f682d8e digest: 748ca68be5f190ecf2f80b547f3d3d4e473b9ea0735feb7f39692eb22f682d8e
@@ -26,7 +49,7 @@ entries:
version: 2.0.2 version: 2.0.2
- apiVersion: v2 - apiVersion: v2
appVersion: 1.15.1 appVersion: 1.15.1
created: "2026-09-01T16:41:12.626235+02:00" created: "2026-09-24T14:54:24.169325+02:00"
description: Postgres Operator UI provides a graphical interface for a convenient description: Postgres Operator UI provides a graphical interface for a convenient
database-as-a-service user experience database-as-a-service user experience
digest: 4bbb750934366038d692711f924151182b7be131b6822d011f5a4e51cf609482 digest: 4bbb750934366038d692711f924151182b7be131b6822d011f5a4e51cf609482
@@ -49,7 +72,7 @@ entries:
version: 1.15.1 version: 1.15.1
- apiVersion: v2 - apiVersion: v2
appVersion: 1.14.0 appVersion: 1.14.0
created: "2026-09-01T16:41:12.625981+02:00" created: "2026-09-24T14:54:24.169091+02:00"
description: Postgres Operator UI provides a graphical interface for a convenient description: Postgres Operator UI provides a graphical interface for a convenient
database-as-a-service user experience database-as-a-service user experience
digest: e87ed898079a852957a67a4caf3fbd27b9098e413f5d961b7a771a6ae8b3e17c digest: e87ed898079a852957a67a4caf3fbd27b9098e413f5d961b7a771a6ae8b3e17c
@@ -72,7 +95,7 @@ entries:
version: 1.14.0 version: 1.14.0
- apiVersion: v2 - apiVersion: v2
appVersion: 1.13.0 appVersion: 1.13.0
created: "2026-09-01T16:41:12.625703+02:00" created: "2026-09-24T14:54:24.168861+02:00"
description: Postgres Operator UI provides a graphical interface for a convenient description: Postgres Operator UI provides a graphical interface for a convenient
database-as-a-service user experience database-as-a-service user experience
digest: e0444e516b50f82002d1a733527813c51759a627cefdd1005cea73659f824ea8 digest: e0444e516b50f82002d1a733527813c51759a627cefdd1005cea73659f824ea8
@@ -95,7 +118,7 @@ entries:
version: 1.13.0 version: 1.13.0
- apiVersion: v2 - apiVersion: v2
appVersion: 1.12.2 appVersion: 1.12.2
created: "2026-09-01T16:41:12.625439+02:00" created: "2026-09-24T14:54:24.168634+02:00"
description: Postgres Operator UI provides a graphical interface for a convenient description: Postgres Operator UI provides a graphical interface for a convenient
database-as-a-service user experience database-as-a-service user experience
digest: cbcef400c23ccece27d97369ad629278265c013e0a45c0b7f33e7568a082fedd digest: cbcef400c23ccece27d97369ad629278265c013e0a45c0b7f33e7568a082fedd
@@ -118,7 +141,7 @@ entries:
version: 1.12.2 version: 1.12.2
- apiVersion: v2 - apiVersion: v2
appVersion: 1.11.0 appVersion: 1.11.0
created: "2026-09-01T16:41:12.625156+02:00" created: "2026-09-24T14:54:24.168269+02:00"
description: Postgres Operator UI provides a graphical interface for a convenient description: Postgres Operator UI provides a graphical interface for a convenient
database-as-a-service user experience database-as-a-service user experience
digest: a45f2284045c2a9a79750a36997386444f39b01ac722b17c84b431457577a3a2 digest: a45f2284045c2a9a79750a36997386444f39b01ac722b17c84b431457577a3a2
@@ -139,4 +162,4 @@ entries:
urls: urls:
- postgres-operator-ui-1.11.0.tgz - postgres-operator-ui-1.11.0.tgz
version: 1.11.0 version: 1.11.0
generated: "2026-09-01T16:41:12.624491+02:00" generated: "2026-09-24T14:54:24.167574+02:00"
+1 -1
View File
@@ -8,7 +8,7 @@ replicaCount: 1
image: image:
registry: ghcr.io registry: ghcr.io
repository: zalando/postgres-operator-ui repository: zalando/postgres-operator-ui
tag: v2.0.2 tag: v2.0.3
pullPolicy: "IfNotPresent" pullPolicy: "IfNotPresent"
# Optionally specify an array of imagePullSecrets. # Optionally specify an array of imagePullSecrets.
+2 -2
View File
@@ -1,7 +1,7 @@
apiVersion: v2 apiVersion: v2
name: postgres-operator name: postgres-operator
version: 2.0.2 version: 2.0.3
appVersion: 2.0.2 appVersion: 2.0.3
home: https://github.com/zalando/postgres-operator home: https://github.com/zalando/postgres-operator
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
keywords: keywords:
@@ -98,7 +98,7 @@ spec:
pattern: ^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$ pattern: ^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$
type: string type: string
connection_pooler_image: connection_pooler_image:
default: ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.2 default: ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.3
type: string type: string
connection_pooler_max_db_connections: connection_pooler_max_db_connections:
format: int32 format: int32
@@ -606,7 +606,7 @@ spec:
logical_backup_cronjob_environment_secret: logical_backup_cronjob_environment_secret:
type: string type: string
logical_backup_docker_image: logical_backup_docker_image:
default: ghcr.io/zalando/postgres-operator/logical-backup:v2.0.2 default: ghcr.io/zalando/postgres-operator/logical-backup:v2.0.3
type: string type: string
logical_backup_failed_jobs_history_limit: logical_backup_failed_jobs_history_limit:
default: 3 default: 3
+32 -10
View File
@@ -1,9 +1,31 @@
apiVersion: v1 apiVersion: v1
entries: entries:
postgres-operator: postgres-operator:
- apiVersion: v2
appVersion: 2.0.3
created: "2026-09-24T14:51:59.555703+02:00"
description: Postgres Operator creates and manages PostgreSQL clusters running
in Kubernetes
digest: 1669599940223a93c128198eba87aad71ee004260b13a5cdc2c62c113df9564d
home: https://github.com/zalando/postgres-operator
keywords:
- postgres
- operator
- cloud-native
- patroni
- spilo
maintainers:
- email: opensource@zalando.de
name: Zalando
name: postgres-operator
sources:
- https://github.com/zalando/postgres-operator
urls:
- postgres-operator-2.0.3.tgz
version: 2.0.3
- apiVersion: v2 - apiVersion: v2
appVersion: 2.0.2 appVersion: 2.0.2
created: "2026-08-12T16:12:26.118121+02:00" created: "2026-09-24T14:51:59.554276+02:00"
description: Postgres Operator creates and manages PostgreSQL clusters running description: Postgres Operator creates and manages PostgreSQL clusters running
in Kubernetes in Kubernetes
digest: 1edaea3e18156f2e87586c12940ecb4607ab1d9f55aeba0faf3df39f57b96acc digest: 1edaea3e18156f2e87586c12940ecb4607ab1d9f55aeba0faf3df39f57b96acc
@@ -25,7 +47,7 @@ entries:
version: 2.0.2 version: 2.0.2
- apiVersion: v2 - apiVersion: v2
appVersion: 2.0.1 appVersion: 2.0.1
created: "2026-08-12T16:12:26.116697+02:00" created: "2026-09-24T14:51:59.552942+02:00"
description: Postgres Operator creates and manages PostgreSQL clusters running description: Postgres Operator creates and manages PostgreSQL clusters running
in Kubernetes in Kubernetes
digest: bb54c367441fe36cefc08d1c83e52e4baaea3522e32da14d40ea45eba4669ff1 digest: bb54c367441fe36cefc08d1c83e52e4baaea3522e32da14d40ea45eba4669ff1
@@ -47,7 +69,7 @@ entries:
version: 2.0.1 version: 2.0.1
- apiVersion: v2 - apiVersion: v2
appVersion: 2.0.0 appVersion: 2.0.0
created: "2026-08-12T16:12:26.115528+02:00" created: "2026-09-24T14:51:59.552033+02:00"
description: Postgres Operator creates and manages PostgreSQL clusters running description: Postgres Operator creates and manages PostgreSQL clusters running
in Kubernetes in Kubernetes
digest: 2622899b573e4c46cd2a70677d5941a9e5da24c7db2a0ff774ddc49ad9d5c544 digest: 2622899b573e4c46cd2a70677d5941a9e5da24c7db2a0ff774ddc49ad9d5c544
@@ -69,7 +91,7 @@ entries:
version: 2.0.0 version: 2.0.0
- apiVersion: v2 - apiVersion: v2
appVersion: 1.15.1 appVersion: 1.15.1
created: "2026-08-12T16:12:26.114099+02:00" created: "2026-09-24T14:51:59.550855+02:00"
description: Postgres Operator creates and manages PostgreSQL clusters running description: Postgres Operator creates and manages PostgreSQL clusters running
in Kubernetes in Kubernetes
digest: 9f3edc3d796105c02c04eaae28a78e58fb08c1847a9de012245fd6ac2c0d2c00 digest: 9f3edc3d796105c02c04eaae28a78e58fb08c1847a9de012245fd6ac2c0d2c00
@@ -91,7 +113,7 @@ entries:
version: 1.15.1 version: 1.15.1
- apiVersion: v2 - apiVersion: v2
appVersion: 1.15.0 appVersion: 1.15.0
created: "2026-08-12T16:12:26.113403+02:00" created: "2026-09-24T14:51:59.550291+02:00"
description: Postgres Operator creates and manages PostgreSQL clusters running description: Postgres Operator creates and manages PostgreSQL clusters running
in Kubernetes in Kubernetes
digest: 002dd47647bf51fbba023bd1762d807be478cf37de7a44b80cd01ac1f20bd94a digest: 002dd47647bf51fbba023bd1762d807be478cf37de7a44b80cd01ac1f20bd94a
@@ -113,7 +135,7 @@ entries:
version: 1.15.0 version: 1.15.0
- apiVersion: v2 - apiVersion: v2
appVersion: 1.14.0 appVersion: 1.14.0
created: "2026-08-12T16:12:26.112666+02:00" created: "2026-09-24T14:51:59.549719+02:00"
description: Postgres Operator creates and manages PostgreSQL clusters running description: Postgres Operator creates and manages PostgreSQL clusters running
in Kubernetes in Kubernetes
digest: 36e1571f3f455b213f16cdda7b1158648e8e84deb804ba47ed6b9b6d19263ba8 digest: 36e1571f3f455b213f16cdda7b1158648e8e84deb804ba47ed6b9b6d19263ba8
@@ -135,7 +157,7 @@ entries:
version: 1.14.0 version: 1.14.0
- apiVersion: v2 - apiVersion: v2
appVersion: 1.13.0 appVersion: 1.13.0
created: "2026-08-12T16:12:26.111869+02:00" created: "2026-09-24T14:51:59.549128+02:00"
description: Postgres Operator creates and manages PostgreSQL clusters running description: Postgres Operator creates and manages PostgreSQL clusters running
in Kubernetes in Kubernetes
digest: a839601689aea0a7e6bc0712a5244d435683cf3314c95794097ff08540e1dfef digest: a839601689aea0a7e6bc0712a5244d435683cf3314c95794097ff08540e1dfef
@@ -157,7 +179,7 @@ entries:
version: 1.13.0 version: 1.13.0
- apiVersion: v2 - apiVersion: v2
appVersion: 1.12.2 appVersion: 1.12.2
created: "2026-08-12T16:12:26.111041+02:00" created: "2026-09-24T14:51:59.548463+02:00"
description: Postgres Operator creates and manages PostgreSQL clusters running description: Postgres Operator creates and manages PostgreSQL clusters running
in Kubernetes in Kubernetes
digest: 65858d14a40d7fd90c32bd9fc60021acc9555c161079f43a365c70171eaf21d8 digest: 65858d14a40d7fd90c32bd9fc60021acc9555c161079f43a365c70171eaf21d8
@@ -179,7 +201,7 @@ entries:
version: 1.12.2 version: 1.12.2
- apiVersion: v2 - apiVersion: v2
appVersion: 1.11.0 appVersion: 1.11.0
created: "2026-08-12T16:12:26.109758+02:00" created: "2026-09-24T14:51:59.547337+02:00"
description: Postgres Operator creates and manages PostgreSQL clusters running description: Postgres Operator creates and manages PostgreSQL clusters running
in Kubernetes in Kubernetes
digest: 3914b5e117bda0834f05c9207f007e2ac372864cf6e86dcc2e1362bbe46c14d9 digest: 3914b5e117bda0834f05c9207f007e2ac372864cf6e86dcc2e1362bbe46c14d9
@@ -199,4 +221,4 @@ entries:
urls: urls:
- postgres-operator-1.11.0.tgz - postgres-operator-1.11.0.tgz
version: 1.11.0 version: 1.11.0
generated: "2026-08-12T16:12:26.108838+02:00" generated: "2026-09-24T14:51:59.546372+02:00"
Binary file not shown.
+3 -3
View File
@@ -1,7 +1,7 @@
image: image:
registry: ghcr.io registry: ghcr.io
repository: zalando/postgres-operator repository: zalando/postgres-operator
tag: v2.0.2 tag: v2.0.3
pullPolicy: "IfNotPresent" pullPolicy: "IfNotPresent"
# Optionally specify an array of imagePullSecrets. # Optionally specify an array of imagePullSecrets.
@@ -385,7 +385,7 @@ configLogicalBackup:
# logical_backup_memory_request: "" # logical_backup_memory_request: ""
# image for pods of the logical backup job (example runs pg_dumpall) # image for pods of the logical backup job (example runs pg_dumpall)
logical_backup_docker_image: "ghcr.io/zalando/postgres-operator/logical-backup:v2.0.2" logical_backup_docker_image: "ghcr.io/zalando/postgres-operator/logical-backup:v2.0.3"
# path of google cloud service account json file # path of google cloud service account json file
# logical_backup_google_application_credentials: "" # logical_backup_google_application_credentials: ""
@@ -463,7 +463,7 @@ configConnectionPooler:
# db user for pooler to use # db user for pooler to use
connection_pooler_user: "pooler" connection_pooler_user: "pooler"
# docker image # docker image
connection_pooler_image: "ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.2" connection_pooler_image: "ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.3"
# max db connections the pooler should hold # max db connections the pooler should hold
connection_pooler_max_db_connections: 60 connection_pooler_max_db_connections: 60
# default pooling mode # default pooling mode
+1 -1
View File
@@ -1578,7 +1578,7 @@ make docker
# build in image in minikube docker env # build in image in minikube docker env
eval $(minikube docker-env) eval $(minikube docker-env)
docker buildx build --load -t ghcr.io/zalando/postgres-operator-ui:v2.0.2 . docker buildx build --load -t ghcr.io/zalando/postgres-operator-ui:v2.0.3 .
# apply UI manifests next to a running Postgres Operator # apply UI manifests next to a running Postgres Operator
kubectl apply -f manifests/ kubectl apply -f manifests/
+1 -1
View File
@@ -6,7 +6,7 @@ Version 2.0 changes some default settings and removes deprecated fields. Please
The v2 operator will default password encryption to `scram-sha-256`. Unless you configure `password_encryption: md5` in the manifest under `spec.postgresql.parameters` the operator will encrypt existing passwords in the managed K8s secrets with `scram-sha-256` and alter the respective database users. Make sure that your clients and drivers who rely on these credentials support `scram-sha-256` as pods will get rotated in rolling fashion after updating to Postgres Operator v2. The v2 operator will default password encryption to `scram-sha-256`. Unless you configure `password_encryption: md5` in the manifest under `spec.postgresql.parameters` the operator will encrypt existing passwords in the managed K8s secrets with `scram-sha-256` and alter the respective database users. Make sure that your clients and drivers who rely on these credentials support `scram-sha-256` as pods will get rotated in rolling fashion after updating to Postgres Operator v2.
For backwards compatibility, the current default Spilo image (`spilo-18:4.1-p2`) still configures the pg_hba.conf file to allow `md5` passwords but Postgres will validate new `scram-sha-256` passwords correctly. This means you can switch to `scram-sha-256` for manifest users, while still allowing unmanaged users to connect via `md5`. The compatibility does not work for connections via pgBouncer that rely on `md5`. In this case you have to configure `password_encryption: md5` in the manifest. For backwards compatibility, the current default Spilo image (`spilo-18:4.1-p2`) still configures the pg_hba.conf file to allow `md5` passwords but Postgres will validate new `scram-sha-256` passwords correctly. This means you can switch to `scram-sha-256` for manifest users, while still allowing unmanaged users to connect via `md5`. The compatibility does not work for connections via pgBouncer that rely on `md5`. In this case you have to configure `password_encryption: md5` in the manifest. Note, that changing the encryption in the manifest requires an operator restart to update the database passwords.
In general, make sure to alter passwords of users that are not managed by the operator and are still `md5` encrypted before the release of next tagged Spilo image which will drop `md5` completely. In general, make sure to alter passwords of users that are not managed by the operator and are still `md5` encrypted before the release of next tagged Spilo image which will drop `md5` completely.
+2 -2
View File
@@ -853,7 +853,7 @@ grouped under the `logical_backup` key.
runs `pg_dumpall` on a replica if possible and uploads compressed results to runs `pg_dumpall` on a replica if possible and uploads compressed results to
an S3 bucket under the key `/<configured-s3-bucket-prefix>/<pg_cluster_name>/<cluster_k8s_uuid>/logical_backups`. an S3 bucket under the key `/<configured-s3-bucket-prefix>/<pg_cluster_name>/<cluster_k8s_uuid>/logical_backups`.
The default image is the same image built with the Zalando-internal CI The default image is the same image built with the Zalando-internal CI
pipeline. Default: "ghcr.io/zalando/postgres-operator/logical-backup:v2.0.2" pipeline. Default: "ghcr.io/zalando/postgres-operator/logical-backup:v2.0.3"
* **logical_backup_google_application_credentials** * **logical_backup_google_application_credentials**
Specifies the path of the google cloud service account json file. Default is empty. Specifies the path of the google cloud service account json file. Default is empty.
@@ -1094,7 +1094,7 @@ operator being able to provide some reasonable defaults.
* **connection_pooler_image** * **connection_pooler_image**
Docker image to use for connection pooler deployment. Docker image to use for connection pooler deployment.
Default: "ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.2" Default: "ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.3"
* **connection_pooler_max_db_connections** * **connection_pooler_max_db_connections**
How many connections the pooler can max hold. This value is divided among the How many connections the pooler can max hold. This value is divided among the
+1 -1
View File
@@ -96,7 +96,7 @@ psql -U postgres -h localhost -p 6432
## Password encryption ## Password encryption
Passwords are encrypted using the `scram-sha-256` hashing method by default. Other methods can be configured by changing the `password_encryption` parameter in the cluster manifest: Passwords are encrypted using the `scram-sha-256` hashing method by default. Other methods can be configured by changing the `password_encryption` parameter in the cluster manifest (requires an operator restart):
```yaml ```yaml
apiVersion: "acid.zalan.do/v1" apiVersion: "acid.zalan.do/v1"
+2 -2
View File
@@ -17,7 +17,7 @@ data:
connection_pooler_default_cpu_request: "500m" connection_pooler_default_cpu_request: "500m"
connection_pooler_default_memory_limit: 100Mi connection_pooler_default_memory_limit: 100Mi
connection_pooler_default_memory_request: 100Mi connection_pooler_default_memory_request: 100Mi
connection_pooler_image: "ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.2" connection_pooler_image: "ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.3"
connection_pooler_max_db_connections: "60" connection_pooler_max_db_connections: "60"
connection_pooler_mode: "transaction" connection_pooler_mode: "transaction"
connection_pooler_number_of_instances: "2" connection_pooler_number_of_instances: "2"
@@ -86,7 +86,7 @@ data:
# logical_backup_cpu_limit: "" # logical_backup_cpu_limit: ""
# logical_backup_cpu_request: "" # logical_backup_cpu_request: ""
logical_backup_cronjob_environment_secret: "" logical_backup_cronjob_environment_secret: ""
logical_backup_docker_image: "ghcr.io/zalando/postgres-operator/logical-backup:v2.0.2" logical_backup_docker_image: "ghcr.io/zalando/postgres-operator/logical-backup:v2.0.3"
# logical_backup_google_application_credentials: "" # logical_backup_google_application_credentials: ""
logical_backup_job_prefix: "logical-backup-" logical_backup_job_prefix: "logical-backup-"
# logical_backup_memory_limit: "" # logical_backup_memory_limit: ""
@@ -23,7 +23,7 @@ spec:
serviceAccountName: postgres-operator serviceAccountName: postgres-operator
containers: containers:
- name: postgres-operator - name: postgres-operator
image: ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.2 image: ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.3
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
resources: resources:
requests: requests:
+2 -2
View File
@@ -98,7 +98,7 @@ spec:
pattern: ^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$ pattern: ^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$
type: string type: string
connection_pooler_image: connection_pooler_image:
default: ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.2 default: ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.3
type: string type: string
connection_pooler_max_db_connections: connection_pooler_max_db_connections:
format: int32 format: int32
@@ -606,7 +606,7 @@ spec:
logical_backup_cronjob_environment_secret: logical_backup_cronjob_environment_secret:
type: string type: string
logical_backup_docker_image: logical_backup_docker_image:
default: ghcr.io/zalando/postgres-operator/logical-backup:v2.0.2 default: ghcr.io/zalando/postgres-operator/logical-backup:v2.0.3
type: string type: string
logical_backup_failed_jobs_history_limit: logical_backup_failed_jobs_history_limit:
default: 3 default: 3
+1 -1
View File
@@ -19,7 +19,7 @@ spec:
serviceAccountName: postgres-operator serviceAccountName: postgres-operator
containers: containers:
- name: postgres-operator - name: postgres-operator
image: ghcr.io/zalando/postgres-operator:v2.0.2 image: ghcr.io/zalando/postgres-operator:v2.0.3
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
resources: resources:
requests: requests:
@@ -182,7 +182,7 @@ configuration:
# logical_backup_cpu_request: "" # logical_backup_cpu_request: ""
# logical_backup_memory_limit: "" # logical_backup_memory_limit: ""
# logical_backup_memory_request: "" # logical_backup_memory_request: ""
logical_backup_docker_image: "ghcr.io/zalando/postgres-operator/logical-backup:v2.0.2" logical_backup_docker_image: "ghcr.io/zalando/postgres-operator/logical-backup:v2.0.3"
# logical_backup_google_application_credentials: "" # logical_backup_google_application_credentials: ""
logical_backup_job_prefix: "logical-backup-" logical_backup_job_prefix: "logical-backup-"
logical_backup_provider: "s3" logical_backup_provider: "s3"
@@ -227,7 +227,7 @@ configuration:
connection_pooler_default_cpu_request: "500m" connection_pooler_default_cpu_request: "500m"
connection_pooler_default_memory_limit: 100Mi connection_pooler_default_memory_limit: 100Mi
connection_pooler_default_memory_request: 100Mi connection_pooler_default_memory_request: 100Mi
connection_pooler_image: "ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.2" connection_pooler_image: "ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.3"
# connection_pooler_max_db_connections: 60 # connection_pooler_max_db_connections: 60
connection_pooler_mode: "transaction" connection_pooler_mode: "transaction"
connection_pooler_number_of_instances: 2 connection_pooler_number_of_instances: 2
@@ -331,7 +331,7 @@ type ConnectionPoolerConfiguration struct {
Schema string `json:"connection_pooler_schema,omitempty"` Schema string `json:"connection_pooler_schema,omitempty"`
// +kubebuilder:default=pooler // +kubebuilder:default=pooler
User string `json:"connection_pooler_user,omitempty"` User string `json:"connection_pooler_user,omitempty"`
// +kubebuilder:default="ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.2" // +kubebuilder:default="ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.3"
Image string `json:"connection_pooler_image,omitempty"` Image string `json:"connection_pooler_image,omitempty"`
// +kubebuilder:validation:Enum=session;transaction // +kubebuilder:validation:Enum=session;transaction
// +kubebuilder:default=transaction // +kubebuilder:default=transaction
@@ -352,7 +352,7 @@ type OperatorLogicalBackupConfiguration struct {
// +kubebuilder:validation:Pattern=`^(\d+|\*)(/\d+)?(\s+(\d+|\*)(/\d+)?){4}$` // +kubebuilder:validation:Pattern=`^(\d+|\*)(/\d+)?(\s+(\d+|\*)(/\d+)?){4}$`
// +kubebuilder:default="30 00 * * *" // +kubebuilder:default="30 00 * * *"
Schedule string `json:"logical_backup_schedule,omitempty"` Schedule string `json:"logical_backup_schedule,omitempty"`
// +kubebuilder:default="ghcr.io/zalando/postgres-operator/logical-backup:v2.0.2" // +kubebuilder:default="ghcr.io/zalando/postgres-operator/logical-backup:v2.0.3"
DockerImage string `json:"logical_backup_docker_image,omitempty"` DockerImage string `json:"logical_backup_docker_image,omitempty"`
// +kubebuilder:validation:Enum=az;gcs;s3 // +kubebuilder:validation:Enum=az;gcs;s3
// +kubebuilder:default=s3 // +kubebuilder:default=s3
@@ -98,7 +98,7 @@ spec:
pattern: ^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$ pattern: ^(\d+(e\d+)?|\d+(\.\d+)?(e\d+)?[EPTGMK]i?)$
type: string type: string
connection_pooler_image: connection_pooler_image:
default: ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.2 default: ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.3
type: string type: string
connection_pooler_max_db_connections: connection_pooler_max_db_connections:
format: int32 format: int32
@@ -606,7 +606,7 @@ spec:
logical_backup_cronjob_environment_secret: logical_backup_cronjob_environment_secret:
type: string type: string
logical_backup_docker_image: logical_backup_docker_image:
default: ghcr.io/zalando/postgres-operator/logical-backup:v2.0.2 default: ghcr.io/zalando/postgres-operator/logical-backup:v2.0.3
type: string type: string
logical_backup_failed_jobs_history_limit: logical_backup_failed_jobs_history_limit:
default: 3 default: 3
+1 -1
View File
@@ -1693,7 +1693,7 @@ func newCronJob(image, schedule string, vars []v1.EnvVar, mounts []v1.VolumeMoun
func TestCompareLogicalBackupJob(t *testing.T) { func TestCompareLogicalBackupJob(t *testing.T) {
img1 := "ghcr.io/zalando/postgres-operator/logical-backup:v2.0.1" img1 := "ghcr.io/zalando/postgres-operator/logical-backup:v2.0.1"
img2 := "ghcr.io/zalando/postgres-operator/logical-backup:v2.0.2" img2 := "ghcr.io/zalando/postgres-operator/logical-backup:v2.0.3"
clientSet := fake.NewSimpleClientset() clientSet := fake.NewSimpleClientset()
acidClientSet := fakeacidv1.NewSimpleClientset() acidClientSet := fakeacidv1.NewSimpleClientset()
+2 -2
View File
@@ -184,7 +184,7 @@ func (c *Controller) importConfigurationFromCRD(fromCRD *acidv1.OperatorConfigur
// logical backup config // logical backup config
result.LogicalBackupSchedule = util.Coalesce(fromCRD.LogicalBackup.Schedule, "30 00 * * *") result.LogicalBackupSchedule = util.Coalesce(fromCRD.LogicalBackup.Schedule, "30 00 * * *")
result.LogicalBackupDockerImage = util.Coalesce(fromCRD.LogicalBackup.DockerImage, "ghcr.io/zalando/postgres-operator/logical-backup:v2.0.2") result.LogicalBackupDockerImage = util.Coalesce(fromCRD.LogicalBackup.DockerImage, "ghcr.io/zalando/postgres-operator/logical-backup:v2.0.3")
result.LogicalBackupProvider = util.Coalesce(fromCRD.LogicalBackup.BackupProvider, "s3") result.LogicalBackupProvider = util.Coalesce(fromCRD.LogicalBackup.BackupProvider, "s3")
result.LogicalBackupAzureStorageAccountName = fromCRD.LogicalBackup.AzureStorageAccountName result.LogicalBackupAzureStorageAccountName = fromCRD.LogicalBackup.AzureStorageAccountName
result.LogicalBackupAzureStorageAccountKey = fromCRD.LogicalBackup.AzureStorageAccountKey result.LogicalBackupAzureStorageAccountKey = fromCRD.LogicalBackup.AzureStorageAccountKey
@@ -270,7 +270,7 @@ func (c *Controller) importConfigurationFromCRD(fromCRD *acidv1.OperatorConfigur
result.ConnectionPooler.Image = util.Coalesce( result.ConnectionPooler.Image = util.Coalesce(
fromCRD.ConnectionPooler.Image, fromCRD.ConnectionPooler.Image,
"ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.2") "ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.3")
result.ConnectionPooler.Mode = util.Coalesce( result.ConnectionPooler.Mode = util.Coalesce(
fromCRD.ConnectionPooler.Mode, fromCRD.ConnectionPooler.Mode,
+2 -2
View File
@@ -128,7 +128,7 @@ type Scalyr struct {
// LogicalBackup defines configuration for logical backup // LogicalBackup defines configuration for logical backup
type LogicalBackup struct { type LogicalBackup struct {
LogicalBackupSchedule string `name:"logical_backup_schedule" default:"30 00 * * *"` LogicalBackupSchedule string `name:"logical_backup_schedule" default:"30 00 * * *"`
LogicalBackupDockerImage string `name:"logical_backup_docker_image" default:"ghcr.io/zalando/postgres-operator/logical-backup:v2.0.2"` LogicalBackupDockerImage string `name:"logical_backup_docker_image" default:"ghcr.io/zalando/postgres-operator/logical-backup:v2.0.3"`
LogicalBackupProvider string `name:"logical_backup_provider" default:"s3"` LogicalBackupProvider string `name:"logical_backup_provider" default:"s3"`
LogicalBackupAzureStorageAccountName string `name:"logical_backup_azure_storage_account_name" default:""` LogicalBackupAzureStorageAccountName string `name:"logical_backup_azure_storage_account_name" default:""`
LogicalBackupAzureStorageContainer string `name:"logical_backup_azure_storage_container" default:""` LogicalBackupAzureStorageContainer string `name:"logical_backup_azure_storage_container" default:""`
@@ -158,7 +158,7 @@ type ConnectionPooler struct {
NumberOfInstances *int32 `name:"connection_pooler_number_of_instances" default:"2"` NumberOfInstances *int32 `name:"connection_pooler_number_of_instances" default:"2"`
Schema string `name:"connection_pooler_schema" default:"pooler"` Schema string `name:"connection_pooler_schema" default:"pooler"`
User string `name:"connection_pooler_user" default:"pooler"` User string `name:"connection_pooler_user" default:"pooler"`
Image string `name:"connection_pooler_image" default:"ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.2"` Image string `name:"connection_pooler_image" default:"ghcr.io/zalando/postgres-operator/pgbouncer:v2.0.3"`
Mode string `name:"connection_pooler_mode" default:"transaction"` Mode string `name:"connection_pooler_mode" default:"transaction"`
MaxDBConnections *int32 `name:"connection_pooler_max_db_connections" default:"60"` MaxDBConnections *int32 `name:"connection_pooler_max_db_connections" default:"60"`
ConnectionPoolerDefaultCPURequest string `name:"connection_pooler_default_cpu_request"` ConnectionPoolerDefaultCPURequest string `name:"connection_pooler_default_cpu_request"`
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "postgres-operator-ui", "name": "postgres-operator-ui",
"version": "2.0.2", "version": "2.0.3",
"description": "PostgreSQL Operator UI", "description": "PostgreSQL Operator UI",
"main": "src/app.js", "main": "src/app.js",
"config": { "config": {
+1 -1
View File
@@ -18,7 +18,7 @@ spec:
serviceAccountName: postgres-operator-ui serviceAccountName: postgres-operator-ui
containers: containers:
- name: "service" - name: "service"
image: ghcr.io/zalando/postgres-operator-ui:v2.0.2 image: ghcr.io/zalando/postgres-operator-ui:v2.0.3
ports: ports:
- containerPort: 8081 - containerPort: 8081
protocol: "TCP" protocol: "TCP"