Skip to content

cluster-v0.1.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 24 Oct 16:13
3c5dd5d

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

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

Full Changelog: cloudnative-pg-v0.22.1...cluster-v0.1.0