chore(deps): update dependency cloudnative-pg/cloudnative-pg to v1.21.0 #47
Loading…
Reference in New Issue
No description provided.
Delete Branch "renovate/crds-catalog"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v1.20.3
->v1.21.0
Release Notes
cloudnative-pg/cloudnative-pg (cloudnative-pg/cloudnative-pg)
v1.21.0
: Release 1.21.0Compare Source
Release date: Oct 11, 2023
!!! Important "Important changes from previous versions" This release contains a few changes to the default settings of CloudNativePG with the goal to improve general stability and security through predefined values. If you are upgrading from a previous version, please carefully read the "Important Changes" section below, as well as the upgrade documentation.
Features:
Volume Snapshot support for backup and recovery: leverage the standard Kubernetes API on Volume Snapshots to take advantage of capabilities like incremental and differential copy for both backup and recovery operations. This first step, covering cold backups from a standby, will continue in 1.22 with support for hot backups using the PostgreSQL API and tablespaces.
OLM installation method: introduce support for Operator Lifecycle Manager via OperatorHub.io for the latest patch version of the latest minor release through the stable channel. Many thanks to EDB for donating the bundle of their "EDB Postgres for Kubernetes" operator and adapting it for CloudNativePG.
Important Changes:
stopDelay
to 1800 seconds instead of 30 seconds (#2848)smartShutdownTimeout
, to control the window of time reserved for the smart shutdown of Postgres to complete; the general formula to compute the overall timeout to stop Postgres ismax(stopDelay - smartShutdownTimeout, 30)
(#2848)startDelay
to 3600, instead of 30 seconds (#2847)switchoverDelay
to 3600 seconds instead of4000000
seconds (#2846)postgresql
label - replaced bycnpg.io/cluster
in 1.18 (#2744)Security:
seccompProfile
to the operator deployment (#2926)Enhancements:
cnpg.io/coredumpFilter
annotation to control the content of a core dump generated in the unlikely event of a PostgreSQL crash, by default set to exclude shared memory segments from the dump (#2733)shared_buffers
are coherent with the pods' allocated memory resources (#2840)uri
andjdbc-uri
fields in the credential secrets to facilitate developers when connecting their applications to the database (#2186)Waiting for the instances to become active
for finer control of a cluster's state waiting for the replicas to be ready (#2612)podSpec
annotation (#2243)status
command (#2953)Fixes:
Ensure that the primary instance is always recreated first by prioritizing ready PVCs with a primary role (#2544)
Honor the
cnpg.io/skipEmptyWalArchiveCheck
annotation during recovery to bypass the check for an empty WAL archive (#2731)Prevent a cluster from being stuck when the PostgreSQL server is down but the pod is up on the primary (#2966)
Avoid treating the designated primary in a replica cluster as a regular HA replica when replication slots are enabled (#2960)
Reconcile services every time the selectors change or when labels/annotations need to be changed (#2918)
Defaults to
app
both the owner and database during recovery bootstrap (#2957)Avoid write-read concurrency on cached cluster (#2884)
Remove empty items, make them unique and sort in the
ResourceName
sections of the generated roles (#2875)Ensure that the
ContinuousArchiving
condition is properly set to 'failed' in case of errors (#2625)Make the
Backup
resource reconciliation cycle more resilient on interruptions by stopping only if the backup is completed or failed (#2591)Reconcile PodMonitor
labels
andannotations
(#2583)Fix backup failure due to missing RBAC
resourceNames
on theRole
object (#2956)Observability:
pg_stat_replication
metric (#2961)pg_wal_stat
default metric for Prometheus (#2569)pg_replication
default metric for Prometheus (#2744 and #2750)alertInstanceLabelFilter
instead ofalertName
in the provided Grafana dashboardstandard_conforming_strings
in metric collection (#2888)Changes:
cnpg snapshot
command withcnpg backup -m volumeSnapshot
for thekubectl
plugincnpg hibernate
plugin command use theClusterManifestAnnotationName
andPgControldataAnnotationName
annotations on PVCs (#2657)cnpg.io/instanceRole
label while deprecating the existingrole
label (#2915)Technical enhancements:
k8s-api-docgen
withgen-crd-api-reference-docs
to automatically build the API reference documentation (#2606)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.