Charmed PostgreSQL K8s Reference | Revision 462/463

Reference > Release Notes > All revisions > Revision 462/463

Revision 462/463

December 18, 2024

Canonical’s newest Charmed PostgreSQL K8s operator has been published in the 14/stable channel.

Due to the newly added support for arm64 architecture, the PostgreSQL charm now releases multiple revisions simultaneously:

  • Revision 462 is built for amd64 on Ubuntu 22.04 LTS
  • Revision 463 is built for arm64 on Ubuntu 22.04 LTS

See also: How to perform a minor upgrade

Contents


Highlights

Features and improvements

  • Removed patching of private ops class. (PR #692)
  • Switched charm libs from tempo_k8s to tempo_coordinator_k8s and test relay support of tracing traffic through grafana-agent-k8s (PR #725)
  • Added check for low storage space on pgdata volume (PR #685) (DPE-5301)
  • Re-enabled log forwarding (PR #671)
  • Avoid replication slot deletion (PR #680) (DPE-3887)
  • Added pgBackRest logrotate configuration (PR #722) (DPE-5600)
  • Grant priviledges to non-public schemas (PR #742) (DPE-5387)
  • Added TLS flag + CA to relation databag (PR #719) (DPE-5484)
  • Added warning logs to Patroni reinitialisation (PR #753) (DPE-5712)
  • Reduced pgdate permissions (PR #759) (DPE-5915)
  • Split off new interface client app tests (PR #761)
  • Temporarily disable log forwarding (PR #757)
  • Changed owner of functions, procedures and aggregates (PR #773)
  • Only update tls flags on leader (PR #770)
  • Preload shared libs on normal PG start (PR #774) (DPE-6033)

Bugfixes and maintenance

  • Fixed PITR backup test instabilities (PR #690)
  • Fixed some postgresql.conf parameters for hardening (PR #702) (DPE-5511)
  • Fixed event deferring issue with missing S3 relation (PR #762) (DPE-5934)
  • Fixed connection rejection rule in pg_hba.conf (PR #751) (DPE-5689)
Libraries, testing, and CI

Known limitations

Requirements and compatibility

  • (no change) Minimum Juju 2 version: v.2.9.49
  • (no change) Minimum Juju 3 version: v.3.4.3
  • (increased) Recommended Juju 3 version: v.3.6.1

See the system requirements for more details about Juju versions and other software and hardware prerequisites.

Integration tests

Below are some of the charm integrations tested with this revision on different Juju environments and architectures:

  • Juju v.2.9.51 on amd64
  • Juju v.3.4.6 on amd64 and arm64
  • Juju v.3.6.1 on amd64 and arm64
Software Revision Tested on
postgresql-test-app rev 279 juju-2_amd64 juju-3_amd64
rev 278 juju-3_arm64
data-integrator rev 41 juju-2_amd64 juju-3_amd64
rev 40 juju-3_arm64
s3-integrator rev 77 juju-2_amd64 juju-3_amd64
rev 78 juju-3_arm64
tls-certificates-operator rev 22 juju-2_amd64
self-signed-certificates rev 155 juju-3_amd64
rev 205 juju-3_arm64
mattermost-k8s rev 27 juju-2_amd64 juju-3_amd64
indico rev 233 juju-2_amd64 juju-3_amd64
redis-k8s rev 7 juju-2_amd64 juju-3_amd64
rev 38 juju-2_amd64 juju-3_amd64
discourse-k8s rev 173 juju-2_amd64 juju-3_amd64

Packaging

This charm is based on the Charmed PostgreSQL K8s ROCK revision 164. It packages: