Important
This version introduces some breaking changes. Refer to the migration guide below.
Deploys and manages a CloudNativePG cluster and its associated resources.
What's Changed
- TimescaleDB support by @itay-grudev in #306
- cluster.imageCatalogRef; ImageCatalog support by @itay-grudev in #306
- Allow to deploy multiple poolers by @dragoangel in #357
- Use 'tpl' function for owner value. by @apriebeAVSystem in #346
*Add possibility to configure custom pg_hba by @mjtrangoni in #321 - exposing pg_ident and shared_preload_libraries by @nealcm in #377
- Add explicit
postgresql
in places where inferred by defaulttype
by @philippemnoel in #385 - Extend monitoring options with relabelings by @dragoangel in #358
- Re-order template keywords by @MoonMoon2 in #389
- Fixed versions typo in image-catalog-timescaledb-ha by @VergilYotov in #419
Migration Guide
Specifying PostgreSQL major version
The PostgreSQL major version is now controlled via the version.postgresql
parameter. Defaults to 16
. It's used when you haven't specified your own cluster.imageName
or cluster.imageCatalogRef
. You may need to explicitly specify it if that's the case for you.
version:
postgresql: 15
PostgreSQL parameters
The PostgreSQL parameters have been moved from cluster.postgresql
to cluster.postgresql.parameters
.
Before:
cluster:
postgresql:
max_connections: 300
After:
cluster:
postgresql:
parameters:
max_connections: 300
Multiple Poolers
The pooler
parameter is not longer supported. Instead you should use: poolers
, which represents a list of poolers.
Before:
pooler:
enabled: true
type: rw
poolMode: transaction
After:
poolers:
- name: rw
type: rw
poolMode: transaction
Pooler poolMode
The Pooler poolMode
is now session
by default instead of transaction
. Look at the example above and explicitly set it if required. Session is the safest most-polite connection pooling method.
New Contributors
- @VergilYotov made their first contribution in #419
- @mjtrangoni made their first contribution in #321
- @nealcm made their first contribution in #377
- @philippemnoel made their first contribution in #385
- @apriebeAVSystem made their first contribution in #346
- @MoonMoon2 made their first contribution in #389
- @dragoangel made their first contribution in #358
Full Changelog: cloudnative-pg-v0.22.1...cluster-v0.1.0