[bitnami/postgresql-ha] Bump to 8.0.0 (#8141)

* [bitnami/postgresql-ha] Bump to 8.0.0

Signed-off-by: Miguel A. Cabrera Minagorri <mcabrera@vmware.com>

* [bitnami/postgresql-ha] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
Miguel Ángel Cabrera Miñagorri
2021-11-15 18:43:08 +01:00
committed by GitHub
co-authored by Bitnami Containers
parent 4aac4864ee
commit b5030d30b8
4 changed files with 35 additions and 10 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
version: 1.10.0
digest: sha256:a8a6f766af11d118c2d8ea1ea7bd670a48ec26721201f47e0c0fac3f586b3290
generated: "2021-10-07T05:06:05.043787114Z"
version: 1.10.1
digest: sha256:84f150f2d532eb5cb38ad0201fc071d7a1c43d1e815330cd8dedd5bc268575ec
generated: "2021-11-15T17:06:43.180136754Z"
+2 -2
View File
@@ -1,7 +1,7 @@
annotations:
category: Database
apiVersion: v2
appVersion: 11.13.0
appVersion: 11.14.0
dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
@@ -27,4 +27,4 @@ name: postgresql-ha
sources:
- https://github.com/bitnami/bitnami-docker-postgresql
- https://www.postgresql.org/
version: 7.12.5
version: 8.0.0
+26 -1
View File
@@ -89,7 +89,7 @@ Additionally, if `persistence.resourcePolicy` is set to `keep`, you should manua
| ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- |
| `postgresqlImage.registry` | PostgreSQL with Repmgr image registry | `docker.io` |
| `postgresqlImage.repository` | PostgreSQL with Repmgr image repository | `bitnami/postgresql-repmgr` |
| `postgresqlImage.tag` | PostgreSQL with Repmgr image tag | `11.13.0-debian-10-r58` |
| `postgresqlImage.tag` | PostgreSQL with Repmgr image tag | `11.14.0-debian-10-r0` |
| `postgresqlImage.pullPolicy` | PostgreSQL with Repmgr image pull policy | `IfNotPresent` |
| `postgresqlImage.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
| `postgresqlImage.debug` | Specify if debug logs should be enabled | `false` |
@@ -613,6 +613,31 @@ $ helm upgrade my-release bitnami/postgresql-ha \
> Note: As general rule, it is always wise to do a backup before the upgrading procedures.
### To 8.0.0
A new major version of repmgr (5.3) was included. To upgrade to this major version, it's necessary to upgrade the repmgr extension installed on the database. To do so, follow the steps below:
- Reduce your PostgreSQL setup to one replica (primary node) and upgrade to `8.0.0`, enabling the repmgr extension upgrade:
```bash
$ helm upgrade my-release --version 8.0.0 bitnami/postgresql-ha \
--set postgresql.password=[POSTGRESQL_PASSWORD] \
--set postgresql.repmgrPassword=[REPMGR_PASSWORD] \
--set postgresql.replicaCount=1 \
--set postgresql.upgradeRepmgrExtension=true
```
- Scale your PostgreSQL setup to the original number of replicas:
```bash
$ helm upgrade my-release --version 8.0.0 bitnami/postgresql-ha \
--set postgresql.password=[POSTGRESQL_PASSWORD] \
--set postgresql.repmgrPassword=[REPMGR_PASSWORD] \
--set postgresql.replicaCount=[NUMBER_OF_REPLICAS]
```
> Note: you need to substitute the placeholders _[POSTGRESQL_PASSWORD]_, and _[REPMGR_PASSWORD]_ with the values obtained from instructions in the installation notes.
### To 6.4.0
Support for adding custom configuration files or initialization scripts by placing them under the "files" directory in the working directory was removed. This functionality was very confusing for users since they do not usually clone the repo nor they fetch the charts to their working directories.
+4 -4
View File
@@ -122,7 +122,7 @@ diagnosticMode:
postgresqlImage:
registry: docker.io
repository: bitnami/postgresql-repmgr
tag: 11.13.0-debian-10-r58
tag: 11.14.0-debian-10-r0
## Specify a imagePullPolicy. Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
##
@@ -573,7 +573,7 @@ postgresql:
pgpoolImage:
registry: docker.io
repository: bitnami/pgpool
tag: 4.2.5-debian-10-r27
tag: 4.2.5-debian-10-r60
## Specify a imagePullPolicy. Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
##
@@ -990,7 +990,7 @@ ldap:
metricsImage:
registry: docker.io
repository: bitnami/postgres-exporter
tag: 0.10.0-debian-10-r87
tag: 0.10.0-debian-10-r120
## Specify a imagePullPolicy. Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
##
@@ -1199,7 +1199,7 @@ metrics:
volumePermissionsImage:
registry: docker.io
repository: bitnami/bitnami-shell
tag: 10-debian-10-r218
tag: 10-debian-10-r252
## Specify a imagePullPolicy. Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
##