[bitnami/postgresql-ha] Clarify postgresql-ha upgrading (#27124)

* Clarify postgresql-ha upgrading

Signed-off-by: Rafael Rios Saavedra <rrios@vmware.com>

* Update README.md

Signed-off-by: Rafael Rios Saavedra <rrios@vmware.com>

---------

Signed-off-by: Rafael Rios Saavedra <rrios@vmware.com>
This commit is contained in:
Rafael Ríos Saavedra
2024-06-12 16:45:37 +02:00
committed by GitHub
parent 44fd8bb63d
commit d9f1b3799e

View File

@@ -958,6 +958,25 @@ helm upgrade my-release oci://REGISTRY_NAME/REPOSITORY_NAME/postgresql-ha \
> Note: you need to substitute the placeholders *[POSTGRES_PASSWORD]*, and *[REPMGR_PASSWORD]* with the values obtained from instructions in the installation notes.
> Note: As general rule, it is always wise to do a backup before the upgrading procedures.
If a message like the following appears in the logs:
```log
...
postgresql-repmgr 13:57:07.50 INFO ==> ** Starting repmgrd **
[2024-06-12 13:57:07] [NOTICE] repmgrd (repmgrd 5.4.1) starting up
[2024-06-12 13:57:07] [ERROR] an older version of the "repmgr" extension is installed
[2024-06-12 13:57:07] [DETAIL] extension version 5.3 is installed but newer version 5.4 is available
...
```
You will need to perform the following step first, and then continue with the upgrade:
```console
$ helm upgrade mypg oci://registry-1.docker.io/bitnamicharts/postgresql-ha \
--set postgresql.replicaCount=1 \
--set postgresql.upgradeRepmgrExtension=true
```
### To 14.0.0
This major bump changes the following security defaults:
@@ -1221,4 +1240,4 @@ Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.