Skip to content

Commit

Permalink
Bump v1.6.2 (#1433)
Browse files Browse the repository at this point in the history
* helm chart remove 1.6.0 archive from 1.6.0 archive

* bump operator to v1.6.2

* fix pointer deref

* skip connection pooler sync when empty

* revert pooler change and minor update to version msg

* do not log query on error when creating or altering users
  • Loading branch information
FxKu authored Apr 1, 2021
1 parent 9e93c0a commit c18241f
Show file tree
Hide file tree
Showing 28 changed files with 140 additions and 148 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/postgres-operator-issue-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ assignees: ''

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. registry.opensource.zalan.do/acid/postgres-operator:v1.6.1
- **Which image of the operator are you using?** e.g. registry.opensource.zalan.do/acid/postgres-operator:v1.6.2
- **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]
- **Type of issue?** [Bug report, question, feature request, etc.]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ We introduce the major version into the backup path to smoothen the [major versi
The new operator configuration can set a compatibility flag *enable_spilo_wal_path_compat* to make Spilo look for wal segments in the current path but also old format paths.
This comes at potential performance costs and should be disabled after a few days.

The newest Spilo 13 image is: `registry.opensource.zalan.do/acid/spilo-13:2.0-p4`
The newest Spilo 13 image is: `registry.opensource.zalan.do/acid/spilo-13:2.0-p6`

The last Spilo 12 image is: `registry.opensource.zalan.do/acid/spilo-12:1.6-p5`

Expand Down
4 changes: 2 additions & 2 deletions charts/postgres-operator-ui/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: postgres-operator-ui
version: 1.6.1
appVersion: 1.6.1
version: 1.6.2
appVersion: 1.6.2
home: https://github.com/zalando/postgres-operator
description: Postgres Operator UI provides a graphical interface for a convenient database-as-a-service user experience
keywords:
Expand Down
32 changes: 27 additions & 5 deletions charts/postgres-operator-ui/index.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,31 @@
apiVersion: v1
entries:
postgres-operator-ui:
- apiVersion: v1
appVersion: 1.6.2
created: "2021-03-29T15:05:15.495911278+02:00"
description: Postgres Operator UI provides a graphical interface for a convenient database-as-a-service user experience
digest: 7adfb8fad3c1ac8038bb9367aec8fbeed04e590631c00a2ecaee7aca6b222520
home: https://github.com/zalando/postgres-operator
keywords:
- postgres
- operator
- ui
- cloud-native
- patroni
- spilo
maintainers:
- email: [email protected]
name: Zalando
name: postgres-operator-ui
sources:
- https://github.com/zalando/postgres-operator
urls:
- postgres-operator-ui-1.6.2.tgz
version: 1.6.2
- apiVersion: v1
appVersion: 1.6.1
created: "2021-02-19T12:19:43.9076945+01:00"
created: "2021-03-29T15:05:15.495347181+02:00"
description: Postgres Operator UI provides a graphical interface for a convenient database-as-a-service user experience
digest: 3d321352f2f1e7bb7450aa8876e3d818aa9f9da9bd4250507386f0490f2c1969
home: https://github.com/zalando/postgres-operator
Expand All @@ -25,9 +47,9 @@ entries:
version: 1.6.1
- apiVersion: v1
appVersion: 1.6.0
created: "2021-02-19T12:19:43.907164331+01:00"
created: "2021-03-29T15:05:15.494822657+02:00"
description: Postgres Operator UI provides a graphical interface for a convenient database-as-a-service user experience
digest: 7bc10d08b25fa423b85a26a1b4c6f6709c5a9d374fa833b44629dc0713f17529
digest: 1e0aa1e7db3c1daa96927ffbf6fdbcdb434562f961833cb5241ddbe132220ee4
home: https://github.com/zalando/postgres-operator
keywords:
- postgres
Expand All @@ -47,7 +69,7 @@ entries:
version: 1.6.0
- apiVersion: v1
appVersion: 1.5.0
created: "2021-02-19T12:19:43.906550454+01:00"
created: "2021-03-29T15:05:15.494293759+02:00"
description: Postgres Operator UI provides a graphical interface for a convenient database-as-a-service user experience
digest: c91ea39e6d51d57f4048fb1b6ec53b40823f2690eb88e4e4f1a036367b9fdd61
home: https://github.com/zalando/postgres-operator
Expand All @@ -67,4 +89,4 @@ entries:
urls:
- postgres-operator-ui-1.5.0.tgz
version: 1.5.0
generated: "2021-02-19T12:19:43.905861603+01:00"
generated: "2021-03-29T15:05:15.493586164+02:00"
Binary file not shown.
2 changes: 1 addition & 1 deletion charts/postgres-operator-ui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ replicaCount: 1
image:
registry: registry.opensource.zalan.do
repository: acid/postgres-operator-ui
tag: v1.6.1
tag: v1.6.2
pullPolicy: "IfNotPresent"

# Optionally specify an array of imagePullSecrets.
Expand Down
4 changes: 2 additions & 2 deletions charts/postgres-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: postgres-operator
version: 1.6.1
appVersion: 1.6.1
version: 1.6.2
appVersion: 1.6.2
home: https://github.com/zalando/postgres-operator
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
keywords:
Expand Down
6 changes: 3 additions & 3 deletions charts/postgres-operator/crds/operatorconfigurations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ spec:
properties:
docker_image:
type: string
default: "registry.opensource.zalan.do/acid/spilo-13:2.0-p4"
default: "registry.opensource.zalan.do/acid/spilo-13:2.0-p6"
enable_crd_validation:
type: boolean
default: true
Expand Down Expand Up @@ -397,7 +397,7 @@ spec:
properties:
logical_backup_docker_image:
type: string
default: "registry.opensource.zalan.do/acid/logical-backup:v1.6.1"
default: "registry.opensource.zalan.do/acid/logical-backup:v1.6.2"
logical_backup_google_application_credentials:
type: string
logical_backup_job_prefix:
Expand Down Expand Up @@ -526,7 +526,7 @@ spec:
default: "pooler"
connection_pooler_image:
type: string
default: "registry.opensource.zalan.do/acid/pgbouncer:master-14"
default: "registry.opensource.zalan.do/acid/pgbouncer:master-16"
connection_pooler_max_db_connections:
type: integer
default: 60
Expand Down
31 changes: 26 additions & 5 deletions charts/postgres-operator/index.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,30 @@
apiVersion: v1
entries:
postgres-operator:
- apiVersion: v1
appVersion: 1.6.2
created: "2021-03-30T17:00:50.171986449+02:00"
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
digest: d886f8a0879ca07d1e5246ee7bc55710e1c872f3977280fe495db6fc2057a7f4
home: https://github.com/zalando/postgres-operator
keywords:
- postgres
- operator
- cloud-native
- patroni
- spilo
maintainers:
- email: [email protected]
name: Zalando
name: postgres-operator
sources:
- https://github.com/zalando/postgres-operator
urls:
- postgres-operator-1.6.2.tgz
version: 1.6.2
- apiVersion: v1
appVersion: 1.6.1
created: "2021-02-19T12:13:13.262839018+01:00"
created: "2021-03-30T17:00:50.170294515+02:00"
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
digest: 4ba5972cd486dcaa2d11c5613a6f97f6b7b831822e610fe9e10a57ea1db23556
home: https://github.com/zalando/postgres-operator
Expand All @@ -24,9 +45,9 @@ entries:
version: 1.6.1
- apiVersion: v1
appVersion: 1.6.0
created: "2021-02-19T12:13:13.260413425+01:00"
created: "2021-03-30T17:00:50.168493689+02:00"
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
digest: 1b4c3892335a207f4719c3817186e98b6105398ab45dafc4274dac837ec9bf31
digest: f52149718ea364f46b4b9eec9a65f6253ad182bb78df541d14cd5277b9c8a8c3
home: https://github.com/zalando/postgres-operator
keywords:
- postgres
Expand All @@ -45,7 +66,7 @@ entries:
version: 1.6.0
- apiVersion: v1
appVersion: 1.5.0
created: "2021-02-19T12:13:13.257505579+01:00"
created: "2021-03-30T17:00:50.166722286+02:00"
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
digest: 198351d5db52e65cdf383d6f3e1745d91ac1e2a01121f8476f8b1be728b09531
home: https://github.com/zalando/postgres-operator
Expand All @@ -64,4 +85,4 @@ entries:
urls:
- postgres-operator-1.5.0.tgz
version: 1.5.0
generated: "2021-02-19T12:13:13.25598107+01:00"
generated: "2021-03-30T17:00:50.165166707+02:00"
Binary file not shown.
8 changes: 4 additions & 4 deletions charts/postgres-operator/values-crd.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
image:
registry: registry.opensource.zalan.do
repository: acid/postgres-operator
tag: v1.6.1
tag: v1.6.2
pullPolicy: "IfNotPresent"

# Optionally specify an array of imagePullSecrets.
Expand Down Expand Up @@ -32,7 +32,7 @@ configGeneral:
# Select if setup uses endpoints (default), or configmaps to manage leader (DCS=k8s)
# kubernetes_use_configmaps: false
# Spilo docker image
docker_image: registry.opensource.zalan.do/acid/spilo-13:2.0-p4
docker_image: registry.opensource.zalan.do/acid/spilo-13:2.0-p6
# min number of instances in Postgres cluster. -1 = no limit
min_instances: -1
# max number of instances in Postgres cluster. -1 = no limit
Expand Down Expand Up @@ -263,7 +263,7 @@ configAwsOrGcp:
# configure K8s cron job managed by the operator
configLogicalBackup:
# image for pods of the logical backup job (example runs pg_dumpall)
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.6.1"
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.6.2"
# path of google cloud service account json file
# logical_backup_google_application_credentials: ""

Expand Down Expand Up @@ -326,7 +326,7 @@ configConnectionPooler:
# db user for pooler to use
connection_pooler_user: "pooler"
# docker image
connection_pooler_image: "registry.opensource.zalan.do/acid/pgbouncer:master-14"
connection_pooler_image: "registry.opensource.zalan.do/acid/pgbouncer:master-16"
# max db connections the pooler should hold
connection_pooler_max_db_connections: 60
# default pooling mode
Expand Down
10 changes: 5 additions & 5 deletions charts/postgres-operator/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
image:
registry: registry.opensource.zalan.do
repository: acid/postgres-operator
tag: v1.6.1
tag: v1.6.2
pullPolicy: "IfNotPresent"

# Optionally specify an array of imagePullSecrets.
Expand Down Expand Up @@ -35,7 +35,7 @@ configGeneral:
# Select if setup uses endpoints (default), or configmaps to manage leader (DCS=k8s)
# kubernetes_use_configmaps: "false"
# Spilo docker image
docker_image: registry.opensource.zalan.do/acid/spilo-13:2.0-p4
docker_image: registry.opensource.zalan.do/acid/spilo-13:2.0-p6
# min number of instances in Postgres cluster. -1 = no limit
min_instances: "-1"
# max number of instances in Postgres cluster. -1 = no limit
Expand Down Expand Up @@ -149,7 +149,7 @@ configKubernetes:
spilo_privileged: "false"
# whether the Spilo container should run with additional permissions other than parent.
# required by cron which needs setuid
spilo_allow_privilege_escalation: true
spilo_allow_privilege_escalation: "true"
# storage resize strategy, available options are: ebs, pvc, off
storage_resize_mode: pvc
# operator watches for postgres objects in the given namespace
Expand Down Expand Up @@ -253,7 +253,7 @@ configAwsOrGcp:
# configure K8s cron job managed by the operator
configLogicalBackup:
# image for pods of the logical backup job (example runs pg_dumpall)
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.6.1"
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:v1.6.2"
# path of google cloud service account json file
# logical_backup_google_application_credentials: ""

Expand Down Expand Up @@ -320,7 +320,7 @@ configConnectionPooler:
# db user for pooler to use
connection_pooler_user: "pooler"
# docker image
connection_pooler_image: "registry.opensource.zalan.do/acid/pgbouncer:master-14"
connection_pooler_image: "registry.opensource.zalan.do/acid/pgbouncer:master-16"
# max db connections the pooler should hold
connection_pooler_max_db_connections: "60"
# default pooling mode
Expand Down
2 changes: 1 addition & 1 deletion docs/administrator.md
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ make docker
# build in image in minikube docker env
eval $(minikube docker-env)
docker build -t registry.opensource.zalan.do/acid/postgres-operator-ui:v1.6.1 .
docker build -t registry.opensource.zalan.do/acid/postgres-operator-ui:v1.6.2 .
# apply UI manifests next to a running Postgres Operator
kubectl apply -f manifests/
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/operator_parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ grouped under the `logical_backup` key.
runs `pg_dumpall` on a replica if possible and uploads compressed results to
an S3 bucket under the key `/spilo/pg_cluster_name/cluster_k8s_uuid/logical_backups`.
The default image is the same image built with the Zalando-internal CI
pipeline. Default: "registry.opensource.zalan.do/acid/logical-backup:v1.6.1"
pipeline. Default: "registry.opensource.zalan.do/acid/logical-backup:v1.6.2"

* **logical_backup_google_application_credentials**
Specifies the path of the google cloud service account json file. Default is empty.
Expand Down
Loading

0 comments on commit c18241f

Please sign in to comment.