Skip to content

Commit 2c2f68f

Browse files
authored
updated from pg13 to pg14 in the update cluster instructions (CrunchyData#3209)
* updated from pg13 to pg14 in the update cluster instructions * returned values to prior version to ensure images are present to run k3d(s) tests
1 parent 0c34e69 commit 2c2f68f

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ jobs:
7272
- name: Prefetch container images
7373
run: |
7474
{
75-
echo '"registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-13.7-0"'
76-
echo '"registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi8-2.38-1"'
77-
echo '"registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:ubi8-1.16-3"'
75+
echo '"registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-13.6-1"'
76+
echo '"registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi8-2.38-0"'
77+
echo '"registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:ubi8-1.16-2"'
7878
} |
7979
jq --slurp --arg name 'image-prefetch' --argjson labels '{"name":"image-prefetch"}' '{
8080
apiVersion: "apps/v1", kind: "DaemonSet",

docs/content/tutorial/update-cluster.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ The Postgres image is referenced using the `spec.image` and looks similar to the
1717

1818
```
1919
spec:
20-
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.4-0
20+
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-14.2-0
2121
```
2222

23-
Diving into the tag a bit further, you will notice the `13.4-0` portion. This represents the Postgres minor version (`13.4`) and the patch number of the release `0`. If the patch number is incremented (e.g. `13.4-1`), this means that the container is rebuilt, but there are no changes to the Postgres version. If the minor version is incremented (e.g. `13.4-0`), this means that there is a newer bug fix release of Postgres within the container.
23+
Diving into the tag a bit further, you will notice the `14.2-0` portion. This represents the Postgres minor version (`14.2`) and the patch number of the release `0`. If the patch number is incremented (e.g. `14.2-1`), this means that the container is rebuilt, but there are no changes to the Postgres version. If the minor version is incremented (e.g. `14.2-0`), this means that there is a newer bug fix release of Postgres within the container.
2424

2525
To update the image, you just need to modify the `spec.image` field with the new image reference, e.g.
2626

2727
```
2828
spec:
29-
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.4-1
29+
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-14.2-1
3030
```
3131

3232
You can apply the changes using `kubectl apply`. Similar to the rolling update example when we [resized the cluster]({{< relref "./resize-cluster.md" >}}), the update is first applied to the Postgres replicas, then a controlled switchover occurs, and the final instance is updated.

internal/controller/postgrescluster/helpers_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ import (
4343
var (
4444
//TODO(tjmoore4): With the new RELATED_IMAGES defaulting behavior, tests could be refactored
4545
// to reference those environment variables instead of hard coded image values
46-
CrunchyPostgresHAImage = "registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-13.7-0"
47-
CrunchyPGBackRestImage = "registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi8-2.38-1"
48-
CrunchyPGBouncerImage = "registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:ubi8-1.16-3"
46+
CrunchyPostgresHAImage = "registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-13.6-1"
47+
CrunchyPGBackRestImage = "registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi8-2.38-0"
48+
CrunchyPGBouncerImage = "registry.developers.crunchydata.com/crunchydata/crunchy-pgbouncer:ubi8-1.16-2"
4949
)
5050

5151
// Scale extends d according to PGO_TEST_TIMEOUT_SCALE.

0 commit comments

Comments
 (0)