-
Notifications
You must be signed in to change notification settings - Fork 26
feat: update internal PostgreSQL to v16 #299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Type(Describe updated until commit 1cb2815)Enhancement Description
|
| Relevant files | |||
|---|---|---|---|
| Configuration changes |
| ||
| Documentation |
| ||
| Dependencies |
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
|
I'm not entirely sure how much we want to describe the upgrade process in the documentation and in the release notes. My impression is that it's clear from the pod logs of the PostgreSQL pod. Maybe just to mention that an upgrade of the PostgreSQL database is needed? |
|
The upgrade check failed on upgrade from 5.0.0 to 5.1.0, as an upgrade procedure needs to be executed (see the PR description). |
| # Versions are expected to follow Semantic Versioning (https://semver.org/) | ||
| # Note that when this chart is published to https://github.com/openshift-helm-charts/charts | ||
| # it will follow the RHDH versioning 1.y.z | ||
| version: 5.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or should it be bumped rather to 6.0.0?
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||



Description of the change
Upgrade the integrated PostgreSQL from version 15 to 16.
Users who are updating from the previous version of the chart need to follow the upgrade process as outlined in the logs of the PostgreSQL pod. That means
helm upgrade, configuringupstream.prostgresql.extraEnvVarskey to includePOSTGRESQL_UPGRADE="copy". The complete configuration of the key would look like this (it needs to contain the config ofPOSTGRESQL_ADMIN_PASSWORDto avoid havingextraEnvVarsoverridden without it):After that, perform
helm upgradeagain, removing thePOSTGRESQL_UPGRADEvariable for continued regular use.After that, a refresh of PostgreSQL collation versions is required (outlined in the PostgreSQL pod logs). This can be done, for example, like this: https://github.com/redhat-developer/rhdh/pull/3949/files#diff-5700e984b56368043ef9a0c1ab37e906444544c1fb8e47beb8189366fa0602c9R1054-R1110
The complete upgrade was tested in redhat-developer/rhdh#3949
Which issue(s) does this PR fix or relate to
How to test changes / Special notes to the reviewer
Checklist
Chart.yamlaccording to Semantic Versioning.values.yamland added to the corresponding README.md. The pre-commit utility can be used to generate the necessary content. Usepre-commit run -ato apply changes. The pre-commit Workflow will do this automatically for you if needed.pre-commithook.ct lintcommand.