Skip to content

Commit b0395a5

Browse files
author
Jonathan S. Katz
committed
Bump v4.6.0-rc.1
1 parent 630cec5 commit b0395a5

File tree

35 files changed

+67
-61
lines changed

35 files changed

+67
-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.3
8+
PGO_VERSION ?= 4.6.0-rc.1
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.3
19+
CCP_IMAGE_TAG=centos8-13.1-4.6.0-rc.1
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.3
5+
CCPImageTag: centos8-13.1-4.6.0-rc.1
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.3
84+
PGOImageTag: centos8-4.6.0-rc.1

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.3"
28+
operatorVersion = "4.6.0-rc.1"
2929
postgresVersion = "13.1"
3030
postgresVersion13 = "13.1"
3131
postgresVersion12 = "13.1"

docs/content/releases/4.6.0.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ These changes also include overall organization and build performance optimizati
162162
- `service-type`, which is now represented by the `serviceType` attribute.
163163
- `NodeLabelKey`/`NodeLabelValue`, which is now replaced by the `nodeAffinity` attribute.
164164
- `backrest-storage-type`, which is now represented with the `backrestStorageTypes` attribute.
165+
- The `--labels` flag on `pgo create cluster` is removed and replaced with the `--label`, which can be specified multiple times. The API endpoint for `pgo create cluster` is also modified: labels must now be passed in as a set of key-value pairs. Please see the "Features" section for more details.
166+
- The API endpoints for `pgo label` and `pgo delete label` is modified to accept a set of key/value pairs for the values of the `--label` flag. The API parameter for this is now called `Labels`.
165167
The `pgo upgrade` command will properly moved any data you have in these labels into the correct attributes. You can read more about how to use the various CRD attributes in the [Custom Resources](https://access.crunchydata.com/documentation/postgres-operator/latest/custom-resources/) section of the documentation.
166168
- The `rootsecretname`, `primarysecretname`, and `usersecretname` attributes on the `pgclusters.crunchydata.com` CRD have been removed. Each of these represented managed Secrets. Additionally, if the managed Secrets are not created at cluster creation time, the Operator will now generate these Secrets.
167169
- The `collectSecretName` attribute on `pgclusters.crunchydata.com` has been removed. The Secret for the metrics collection user is now fully managed by the PostgreSQL Operator.
@@ -193,6 +195,8 @@ Passing in the [`--process-max`](https://pgbackrest.org/command.html#command-arc
193195

194196
- `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.
195197
- 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.
198+
- `pgo create cluster` now accepts a `--label` flag that can be used to specify one or more custom labels for a PostgreSQL cluster. This replaces the `--labels`flag.
199+
- `pgo label` and `pgo delete label` can accept a `--label` flag specified multiple times.
196200
- 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.
197201
- 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).
198202

@@ -233,7 +237,9 @@ Passing in the [`--process-max`](https://pgbackrest.org/command.html#command-arc
233237
- 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).
234238
- Do not trigger a backup if a standby cluster fails over. Reported by (@aprilito1965).
235239
- Ensure pgBouncer Secret is created when adding it to a standby cluster.
240+
- Generally improvements to initialization of a standby cluster.
236241
- 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).
242+
- Ensure proper label parsing based on Kubernetes rules and that it is consistently applied across all functionality that uses labels. Reported by José Joye (@jose-joye).
237243
- The logger no longer defaults to using a log level of `DEBUG`.
238244
- Autofailover is no longer disabled when an `rmdata` Job is run, enabling a clean database shutdown process when deleting a PostgreSQL cluster.
239245
- Allow for `Restart` API server permission to be explicitly set. Reported by Aleksander Roszig (@AleksanderRoszig).

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.3",
13+
"pgo-version": "4.6.0-rc.1",
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.3",
48+
"ccpimagetag": "centos8-13.1-4.6.0-rc.1",
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.3"
63+
"pgo-version": "4.6.0-rc.1"
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.3
23+
export PGO_VERSION=4.6.0-rc.1
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.3`.
67+
- `imageTag`: The container image tag to use. Defaults to `centos8-13.1-4.6.0-rc.1`.
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.3
23+
appVersion: 4.6.0-rc.1

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.3" | quote }}
31+
ccpimagetag: {{ .Values.imageTag | default "centos8-13.1-4.6.0-rc.1" | quote }}
3232
clustername: {{ .Values.name | quote }}
3333
database: {{ .Values.name | quote }}
3434
{{- if .Values.monitoring }}

0 commit comments

Comments
 (0)