Skip to content

Commit

Permalink
Merge pull request #3048 from EnterpriseDB/release/2022-08-15
Browse files Browse the repository at this point in the history
Release: 2022-08-15
  • Loading branch information
drothery-edb authored Aug 15, 2022
2 parents ab88665 + d2f2153 commit 490ba7c
Show file tree
Hide file tree
Showing 9 changed files with 94 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ To register resource providers using the Azure Portal:
4. Review the status of the required providers. To register a provider, select the provider and, on the top menu, select **Register**.

To register resource providers using the Azure CLI,
use the [register command](https://docs.microsoft.com/en-us/cli/azure/provider?view=azure-cli-latest#az_provider_register). For example:
use the [register command](https://docs.microsoft.com/en-us/cli/azure/provider?view=azure-cli-latest#az-provider-register). For example:

```shell
az provider register -n Microsoft.ContainerService
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ The URL contains the following information:
!!! Note
- If datatype `tinyInt(1)` is used to store byte values other than 0 and 1 in the MySQL source database, make sure to append the optional parameter `?tinyInt1isBit=false` in the MySQL Connector/J JDBC Driver URL.

- Due to a bug in the MySQL Connector/J JDBC Driver 8.0.26, the migration of foreign key constraints fails in certain cases. EDB recommends that you don't use this driver for migrating data using Migration Toolkit. You can use MySQL Connector/J JDBC Driver 8.0.25 driver instead.
- Due to a bug in the MySQL Connector/J JDBC Driver 8.0.26, the migration of foreign key constraints fails in certain cases. EDB recommends that you don't use this driver for migrating data using Migration Toolkit. Instead, use MySQL Connector/J JDBC Driver 8.0.30 or later.

For detailed information about this bug, see the [MySQL bug report](https://bugs.mysql.com/bug.php?id=95280).

Expand Down
2 changes: 1 addition & 1 deletion product_docs/docs/postgres_for_kubernetes/1/postgis.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ metadata:
name: postgis-example
spec:
instances: 3
imageName: quay.io/enterprisedb/postgis:14
imageName: ghcr.io/cloudnative-pg/postgis:14
bootstrap:
initdb:
postInitTemplateSQL:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ ssl = 'on'
ssl_ca_file = '/controller/certificates/client-ca.crt'
ssl_cert_file = '/controller/certificates/server.crt'
ssl_key_file = '/controller/certificates/server.key'
unix_socket_directories = '/var/run/postgresql'
unix_socket_directories = '/controller/run'
wal_level = 'logical'
wal_log_hints = 'on'
```
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: "EDB Postgres for Kubernetes 1.15.3 release notes"
navTitle: "Version 1.15.3"
---

This release of EDB Postgres for Kubernetes includes the following:

| Type | Description |
| -------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| Upstream merge | Merged with community CloudNativePG 1.15.3. See the community [Release Notes](https://cloudnative-pg.io/documentation/1.15/release_notes/v1.15/). |


## Important changes to our upgrade policy
We are adopting a new policy to support the last two minor versions of the product beginning with 1.16, in line with the CloudNativePG community.

As a result, we are introducing the following head versions in the new OLM channels in OpenShift to manage the update streams for EDB Postgres for Kubernetes:

* `fast`: the latest available patch release for the latest available minor release
* `stable-v1.16`: the latest available patch release of the 1.16 minor release
* `stable-v1.15`: the latest available patch release of the 1.15 minor release

Prior to the release of 1.16, the only channel that we were supporting was the `stable` channel. This channel is now obsolete. However, for backward compatibility it is currently set as an alias of the `stable-v1.15` channel and it will be removed once version 1.15 goes End of Life.
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
title: "EDB Postgres for Kubernetes 1.16.1 release notes"
navTitle: "Version 1.16.1"
---

This release of EDB Postgres for Kubernetes includes the following:

| Type | Description |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Upstream merge | Merged with community CloudNativePG 1.16. See the community [Release Notes](https://cloudnative-pg.io/documentation/1.16/release_notes/v1.16/). |

## Important changes to our upgrade policy
We are adopting a new policy to support the last two minor versions of the product, in line with the CloudNativePG community.

As a result, we are introducing the following head versions in the new OLM channels in OpenShift to manage the update streams for EDB Postgres for Kubernetes:

* `fast`: the latest available patch release for the latest available minor release
* `stable-v1.16`: the latest available patch release of the 1.16 minor release
* `stable-v1.15`: the latest available patch release of the 1.15 minor release

Prior to this release, the only channel that we were supporting was the `stable` channel. This channel is now obsolete. However, for backward compatibility it is currently set as an alias of the `stable-v1.15` channel. It will be removed once version 1.15 reaches End of Life.

## Important information about upgrading to a 1.16.x operator version on Openshift

We have made a change to the way conditions are represented in the status of
the operator in version 1.16.0 and onward. This change could cause an operator
upgrade to hang on Openshift if one of the old conditions are set during the
upgrade process because of the way the Operator Lifecycle Manager checks new
CRDs against existing CRs.

Prior to installing 1.16.x on Openshift, if you are upgrading from a 1.15.x (or
earlier) version of the operator, we recommend uninstalling the existing
version of the operator, then deleting all of the old conditions out of the
statuses of all existing EDB Postgres for Kubernetes clusters.
This will have no effect on the operability of your existing EDB Postgres for
Kubernetes clusters.

To remove the existing conditions run:

```bash
while IFS=' ' read NS CLUSTER; do
kubectl -n ${NS} patch --type='json' ${CLUSTER} --subresource=status -p='[{"op": "remove", "path": "/status/conditions"}]';
done < <(kubectl get cluster -A --no-headers=true -o jsonpath='{range .items[*]}{.metadata.namespace}{" cluster/"}{.metadata.name}{"\n"}{end}')
```

!!! Important
The kubectl command must be version 1.24 or higher.
If you get the output `The request is invalid` it means that the traget cluster
didn't have any condition on it.

This command will remove all of the conditions from all of the EDB Postgres for
Kubernetes clusters in your Openshift cluster.
Once the command completes, you can safely install version 1.16.x.

If you have already tried to upgrade to 1.16.x from 1.15.x (or earlier) and
the install of 1.16.x shows as "Pending" and the earlier version shows as
"Cannot update", uninstall both versions of the operator and
run the command that removes the statuses.
12 changes: 8 additions & 4 deletions product_docs/docs/postgres_for_kubernetes/1/rel_notes/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
title: EDB Postgres for Kubernetes Release notes
navTitle: "Release notes"
navigation:
- 1_16_1_rel_notes
- 1_16_rel_notes
- 1_15_3_rel_notes
- 1_15_2_rel_notes
- 1_15_1_rel_notes
- 1_15_rel_notes
Expand Down Expand Up @@ -32,10 +34,12 @@ The EDB Postgres for Kubernetes documentation describes the major version of EDB

| Version | Release date | Upstream merges |
| -------------------------- | ------------ | ------------------------------------------------------------------------------------------- |
| [1.16.0](1_16_rel_notes) | 2022 Jul 07 | Upstream [1.16.0](https://cloudnative-pg.io/documentation/1.16/release_notes/#version-1160) |
| [1.15.2](1_15_2_rel_notes) | 2022 Jul 07 | Upstream [1.15.2](https://cloudnative-pg.io/documentation/1.15/release_notes/#version-1152) |
| [1.15.1](1_15_1_rel_notes) | 2022 May 27 | Upstream [1.15.1](https://cloudnative-pg.io/documentation/1.15/release_notes/#version-1151) |
| [1.15.0](1_15_rel_notes) | 2022 Apr 21 | Upstream [1.15.0](https://cloudnative-pg.io/documentation/1.15/release_notes/#version-1150) |
| [1.16.1](1_16_1_rel_notes) | 2022 Aug 12 | Upstream [1.16.1](https://cloudnative-pg.io/documentation/1.16/release_notes/v1.16/) |
| [1.16.0](1_16_rel_notes) | 2022 Jul 07 | Upstream [1.16.0](https://cloudnative-pg.io/documentation/1.16/release_notes/v1.16) |
| [1.15.3](1_15_3_rel_notes) | 2022 Aug 12 | Upstream [1.15.3](https://cloudnative-pg.io/documentation/1.15/release_notes/v1.15) |
| [1.15.2](1_15_2_rel_notes) | 2022 Jul 07 | Upstream [1.15.2](https://cloudnative-pg.io/documentation/1.15/release_notes/v1.15) |
| [1.15.1](1_15_1_rel_notes) | 2022 May 27 | Upstream [1.15.1](https://cloudnative-pg.io/documentation/1.15/release_notes/v1.15) |
| [1.15.0](1_15_rel_notes) | 2022 Apr 21 | Upstream [1.15.0](https://cloudnative-pg.io/documentation/1.15/release_notes/v1.15) |
| [1.14.0](1_14_rel_notes) | 2022 Mar 25 | NA |
| [1.13.0](1_13_rel_notes) | 2022 Feb 17 | NA |
| [1.12.0](1_12_rel_notes) | 2022 Jan 11 | NA |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: postgis-example
spec:
instances: 3
imageName: quay.io/enterprisedb/postgis:14
imageName: ghcr.io/cloudnative-pg/postgis:14
bootstrap:
initdb:
postInitTemplateSQL:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ spec:
app: webtest
spec:
containers:
- image: quay.io/enterprisedb/webtest:1.6.0
- image: ghcr.io/cloudnative-pg/webtest:1.6.0
name: cert-test
volumeMounts:
- name: secret-volume-root-ca
Expand Down

0 comments on commit 490ba7c

Please sign in to comment.