v1.15.1
Release date: May 27, 2022 (patch release)
Minor changes:
- Enable configuration of the
archive_timeout
setting for PostgreSQL, which was previously a fixed parameter (by default set to 5 minutes) - Introduce a new field called
backupOwnerReference
in thescheduledBackup
resource to set the ownership reference on the created backup resources, with possible values beingnone
(default),self
(objects owned by the scheduled backup object), andcluster
(owned by the Postgres cluster object) - Introduce automated collection of
pg_stat_wal
metrics for PostgreSQL 14 or higher in the native Prometheus exporter - Set the default operand image to PostgreSQL 14.3
Fixes:
- Fix fencing by killing orphaned processes related to
postgres
- Enable the CSV log pipe inside the
WithActiveInstance
function to collect logs from recovery bootstrap jobs and help in the troubleshooting phase - Prevent bootstrapping a new cluster with a non-empty backup object store, removing the risk of overwriting existing backups
- With the
recovery
bootstrap method, make sure that the recovery object store and the backup object store are different to avoid overwriting existing backups - Re-queue the reconciliation loop if the RBAC for backups is not yet created
- Fix an issue with backups and the wrong specification of the cluster name property
- Ensures that operator pods always have the latest certificates in the case of a deployment of the operator in high availability, with more than one replica
- Fix the
cnpg report operator
command to correctly handle the case of a deployment of the operator in high availability, with more than one replica - Properly propagate changes in the cluster’s
inheritedMetadata
set of labels and annotations to the related resources of the cluster without requiring a restart - Fix the
cnpg
plugin to correctly parse any custom configmap and secret name defined in the operator deployment, instead of relying just on the default values - Fix the local building of the documentation by using the
minidocks/mkdocs
image formkdocs