Skip to content

Commit 75e7099

Browse files
author
Jonathan S. Katz
committed
Bump v4.6.0-beta.3
1 parent c8427ae commit 75e7099

File tree

35 files changed

+69
-61
lines changed

35 files changed

+69
-61
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ PGOROOT ?= $(CURDIR)
55
PGO_BASEOS ?= centos8
66
PGO_IMAGE_PREFIX ?= crunchydata
77
PGO_IMAGE_TAG ?= $(PGO_BASEOS)-$(PGO_VERSION)
8-
PGO_VERSION ?= 4.6.0-beta.2
8+
PGO_VERSION ?= 4.6.0-beta.3
99
PGO_PG_VERSION ?= 13
1010
PGO_PG_FULLVERSION ?= 13.1
1111
PGO_BACKREST_VERSION ?= 2.31

bin/push-ccp-to-gcr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
GCR_IMAGE_PREFIX=gcr.io/crunchy-dev-test
1717

1818
CCP_IMAGE_PREFIX=crunchydata
19-
CCP_IMAGE_TAG=centos8-13.1-4.6.0-beta.2
19+
CCP_IMAGE_TAG=centos8-13.1-4.6.0-beta.3
2020

2121
IMAGES=(
2222
crunchy-prometheus

conf/postgres-operator/pgo.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Cluster:
22
CCPImagePrefix: registry.developers.crunchydata.com/crunchydata
33
Metrics: false
44
Badger: false
5-
CCPImageTag: centos8-13.1-4.6.0-beta.2
5+
CCPImageTag: centos8-13.1-4.6.0-beta.3
66
Port: 5432
77
PGBadgerPort: 10000
88
ExporterPort: 9187
@@ -81,4 +81,4 @@ Storage:
8181
Pgo:
8282
Audit: false
8383
PGOImagePrefix: registry.developers.crunchydata.com/crunchydata
84-
PGOImageTag: centos8-4.6.0-beta.2
84+
PGOImageTag: centos8-4.6.0-beta.3

docs/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ disableNavChevron = false # set true to hide next/prev chevron, default is false
2525
highlightClientSide = false # set true to use highlight.pack.js instead of the default hugo chroma highlighter
2626
menushortcutsnewtab = true # set true to open shortcuts links to a new tab/window
2727
enableGitInfo = true
28-
operatorVersion = "4.6.0-beta.2"
28+
operatorVersion = "4.6.0-beta.3"
2929
postgresVersion = "13.1"
3030
postgresVersion13 = "13.1"
3131
postgresVersion12 = "13.1"

docs/content/releases/4.6.0.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ The PostgreSQL Operator 4.6.0 release includes the following software versions u
1919
- [pgBackRest](https://pgbackrest.org/) is now at version 2.31.
2020
- [pgnodemx](https://github.com/CrunchyData/pgnodemx) is now at version 1.0.3
2121
- [Patroni](https://patroni.readthedocs.io/) is now at version 2.0.1
22+
- [pgBadger](https://github.com/darold/pgbadger) is now at 11.4
2223

2324
The monitoring stack for the PostgreSQL Operator uses upstream components as opposed to repackaging them. These are specified as part of the [PostgreSQL Operator Installer](https://access.crunchydata.com/documentation/postgres-operator/latest/installation/postgres-operator/). We have tested this release with the following versions of each component:
2425

@@ -193,6 +194,7 @@ Passing in the [`--process-max`](https://pgbackrest.org/command.html#command-arc
193194
- `pgo restore` will now first attempt a [pgBackRest delta restore](https://pgbackrest.org/user-guide.html#restore/option-delta), which can significantly speed up the restore time for large databases. Passing in the [`--process-max`](https://pgbackrest.org/command.html#command-archive-get/category-general/option-process-max) option to `--backup-opts` can help speed up the restore process based upon the amount of CPU you have available.
194195
- A pgBackRest backup can now be deleted with `pgo delete backup`. A backup name must be specified with the `--target` flag. Please refer to the [documentation](https://access.crunchydata.com/documentation/postgres-operator/latest/tutorial/disaster-recovery/#deleting-a-backup) for how to use this command.
195196
- pgBadger can now be enabled/disabled during the lifetime of a PostgreSQL cluster using the `pgo update --enable-pgbadger` and `pgo update --disable-pgbadger` flag. This can also be modified directly on a custom resource.
197+
- Managed PostgreSQL system accounts and now have their credentials set and rotated with `pgo update user` by including the `--set-system-account-password` flag. Suggested by (@srinathganesh).
196198

197199
## Changes
198200

@@ -205,13 +207,16 @@ Passing in the [`--process-max`](https://pgbackrest.org/command.html#command-arc
205207
- The `pgo failover` command now works without specifying a target: the candidate to fail over to will be automatically selected.
206208
- For clusters that have no healthy instances, `pgo failover` can now force a promotion using the `--force` flag. A `--target` flag must also be specified when using `--force`.
207209
- If a predefined custom ConfigMap for a PostgreSQL cluster (`-pgha-config`) is detected at bootstrap time, the Operator will ensure it properly initializes the cluster.
210+
- Deleting a `pgclusters.crunchydata.com` custom resource will now properly delete a PostgreSQL cluster. If the `pgclusters.crunchydata.com` custom resource has the annotations `keep-backups` or `keep-data`, it will keep the backups or keep the PostgreSQL data directory respectively. Reported by Leo Khomenko (@lkhomenk).
208211
- PostgreSQL JIT compilation is explicitly disabled on new cluster creation. This prevents a memory leak that has been observed on queries coming from the metrics exporter.
209212
- The credentials for the metrics collection user are now available with `pgo show user --show-system-accounts`.
210213
- The default user for executing scheduled SQL policies is now the Postgres superuser, instead of the replication user.
211214
- Add the `--no-prompt` flag to `pgo upgrade`. The mechanism to disable the prompt verification was already in place, but the flag was not exposed. Reported by (@devopsevd).
212215
- Remove certain characters that causes issues in shell environments from consideration when using the random password generator, which is used to create default passwords or with `--rotate-password`.
216+
- Allow for the `--link-map` attribute for a pgBackRest option, which can help with the restore of an existing cluster to a new cluster that adds an external WAL volume.
213217
- Remove the long deprecated `archivestorage` attribute from the `pgclusters.crunchydata.com` custom resource definition. As this attribute is not used at all, this should have no effect.
214218
- The `ArchiveMode` parameter is now removed from the configuration. This had been fully deprecated for awhile.
219+
- Add an explicit size limit of `64Mi` for the `pgBadger` ephemeral storage mount. Additionally, remove the ephemeral storage mount for the `/recover` mount point as that is not used. Reported by Pierre-Marie Petit (@pmpetit).
215220
- New PostgreSQL Operator deployments will now generate ECDSA keys (P-256, SHA384) for use by the API server.
216221

217222
## Fixes
@@ -227,9 +232,12 @@ Passing in the [`--process-max`](https://pgbackrest.org/command.html#command-arc
227232
- Fix syntax in recovery check command which could lead to failures when manually promoting a standby cluster. Reported by (@SockenSalat).
228233
- Fix potential race condition that could lead to a crash in the Operator boot when an error is issued around loading the `pgo-config` ConfigMap. Reported by Aleksander Roszig (@AleksanderRoszig).
229234
- Do not trigger a backup if a standby cluster fails over. Reported by (@aprilito1965).
235+
- Ensure pgBouncer Secret is created when adding it to a standby cluster.
230236
- Remove legacy `defaultMode` setting on the volume instructions for the pgBackRest repo Secret as the `readOnly` setting is used on the mount itself. Reported by (@szhang1).
231237
- The logger no longer defaults to using a log level of `DEBUG`.
232238
- Autofailover is no longer disabled when an `rmdata` Job is run, enabling a clean database shutdown process when deleting a PostgreSQL cluster.
239+
- Allow for `Restart` API server permission to be explicitly set. Reported by Aleksander Roszig (@AleksanderRoszig).
233240
- Update `pgo-target` permissions to match expectations for modern Kubernetes versions.
234241
- Major upgrade container now includes references for `pgnodemx`.
235242
- During a major upgrade, ensure permissions are correct on the old data directory before running `pg_upgrade`.
243+
- The metrics stack installer is fixed to work in environments that may not have connectivity to the Internet ("air gapped"). Reported by (@eliranw).

examples/create-by-resource/fromcrd.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"deployment-name": "fromcrd",
1111
"name": "fromcrd",
1212
"pg-cluster": "fromcrd",
13-
"pgo-version": "4.6.0-beta.2",
13+
"pgo-version": "4.6.0-beta.3",
1414
"pgouser": "pgoadmin"
1515
},
1616
"name": "fromcrd",
@@ -45,7 +45,7 @@
4545
"supplementalgroups": ""
4646
},
4747
"ccpimage": "crunchy-postgres-ha",
48-
"ccpimagetag": "centos8-13.1-4.6.0-beta.2",
48+
"ccpimagetag": "centos8-13.1-4.6.0-beta.3",
4949
"clustername": "fromcrd",
5050
"database": "userdb",
5151
"exporterport": "9187",
@@ -60,7 +60,7 @@
6060
"port": "5432",
6161
"user": "testuser",
6262
"userlabels": {
63-
"pgo-version": "4.6.0-beta.2"
63+
"pgo-version": "4.6.0-beta.3"
6464
}
6565
}
6666
}

examples/envs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export PGO_CONF_DIR=$PGOROOT/installers/ansible/roles/pgo-operator/files
2020
# the version of the Operator you run is set by these vars
2121
export PGO_IMAGE_PREFIX=registry.developers.crunchydata.com/crunchydata
2222
export PGO_BASEOS=centos8
23-
export PGO_VERSION=4.6.0-beta.2
23+
export PGO_VERSION=4.6.0-beta.3
2424
export PGO_IMAGE_TAG=$PGO_BASEOS-$PGO_VERSION
2525

2626
# for setting the pgo apiserver port, disabling TLS or not verifying TLS

examples/helm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The following values can also be set:
6464
- `ha`: Whether or not to deploy a high availability PostgreSQL cluster. Can be either `true` or `false`, defaults to `false`.
6565
- `imagePrefix`: The prefix of the container images to use for this PostgreSQL cluster. Default to `registry.developers.crunchydata.com/crunchydata`.
6666
- `image`: The name of the container image to use for the PostgreSQL cluster. Defaults to `crunchy-postgres-ha`.
67-
- `imageTag`: The container image tag to use. Defaults to `centos8-13.1-4.6.0-beta.2`.
67+
- `imageTag`: The container image tag to use. Defaults to `centos8-13.1-4.6.0-beta.3`.
6868
- `memory`: The memory limit for the PostgreSQL cluster. Follows standard Kubernetes formatting.
6969
- `monitoring`: Whether or not to enable monitoring / metrics collection for this PostgreSQL instance. Can either be `true` or `false`, defaults to `false`.
7070

examples/helm/postgres/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ version: 0.2.0
2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
23-
appVersion: 4.6.0-beta.2
23+
appVersion: 4.6.0-beta.3

examples/helm/postgres/templates/pgcluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spec:
2828
storagetype: dynamic
2929
ccpimage: {{ .Values.image | default "crunchy-postgres-ha" | quote }}
3030
ccpimageprefix: {{ .Values.imagePrefix | default "registry.developers.crunchydata.com/crunchydata" | quote }}
31-
ccpimagetag: {{ .Values.imageTag | default "centos8-13.1-4.6.0-beta.2" | quote }}
31+
ccpimagetag: {{ .Values.imageTag | default "centos8-13.1-4.6.0-beta.3" | quote }}
3232
clustername: {{ .Values.name | quote }}
3333
database: {{ .Values.name | quote }}
3434
{{- if .Values.monitoring }}

0 commit comments

Comments
 (0)