Release notes for CloudNativePG 1.20¶
History of user-visible changes in the 1.20 minor release of CloudNativePG.
For a complete list of changes, please refer to the commits
on the release branch in GitHub.
Version 1.20.0¶
Releasedate: April 27, 2023
Features:
Declarativerolemanagement: introduce the
managed.rolesstanza in theClusterspec to provide full lifecycle management of database roles, by providing an abstraction to the related DDL commands in PostgreSQL, such asCREATE ROLEandALTER ROLE(#1524, #1793 and #1815)DeclarativehibernationofaPostgreSQLcluster: introduce a new annotation called
cnpg.io/hibernationto declaratively hibernate a PostgreSQL cluster by deleting all pods and keeping the PVCs only; the feature also implements the inverse procedure (#1657)
Enhancements:
Improve the
--logsoption of thereportcommand of thecnpgplugin forkubectlto also include the previous logs where available (#1811)The
-anyservice is now disabled by default (#1755)
Security:
Enable customization of
SeccompProfilethrough override via a local file (#1827)
Fixes:
Apply the PostgreSQL configuration provided by the user during the
initdbbootstrap phase, before the server is started the first time (#1858)