Update helm chart openbao to v1.2.0
What does this MR do?
Updates the OpenBao subchart from v1.1.0 to v1.2.0 and documents its new config.storage.postgresql.transactionMaxParallel parameter.
This MR is stacked on !5621 (merged), which updates the subchart to v1.1.0. Merge that one first.
OpenBao chart v1.2.0 (gitlab-org/cloud-native/charts/openbao!91 (merged)) keeps OpenBao's PostgreSQL transactions below maxParallel. OpenBao uses one connection pool for transactions and for the HA lock renewal. With maxParallel: 5 and no transaction limit (OpenBao defaults to 64), a burst of requests could hold every connection. The lock renewal then timed out, and the active node lost its HA lock.
transaction_max_parallel now defaults to maxParallel minus 2, and at least 2. That's 3 with the default maxParallel: 5.
Upgrade impact
- Installs that keep the defaults go from up to 5 transactions at once to 3. Bursts of reads may queue slightly longer, but they can no longer cost the active node its HA lock.
- Installs that set
openbao.config.storage.postgresql.maxParallelgetmaxParallel - 2transactions, and at least 2. - These settings now fail to render, with an error that says why:
maxParallelbelow 3, withtransactionMaxParallelnot set;transactionMaxParallelset tomaxParallelor higher;transactionMaxParallelset below 2.
Test plan
helm dependency updateonly changes the OpenBao entry and the digest inChart.lock.helm template gitlab charts/openbao-1.2.0.tgzrenders"max_parallel": 5and"transaction_max_parallel": 3.helm template gitlab charts/openbao-1.2.0.tgz --set config.storage.postgresql.maxParallel=2fails withmaxParallel (2) must be at least 3.
The OpenBao chart change was tested on a GKE cluster: gitlab-org/cloud-native/charts/openbao!91 (comment 4263558380)
Related issues
Author checklist
For general guidance, please follow our Contributing guide.
Required
For anything in this list which will not be completed, please provide a reason in the MR discussion.
- Merge Request Title and Description are up to date, accurate, and descriptive.
- MR targeting the appropriate branch.
- MR has a green pipeline.
- Documentation created/updated.
- Tests added/updated.
- Have you validated that your change works end-to-end on a real cluster deployment?
- Not needed for this bump:
transactionMaxParallelis a parameter of the OpenBao chart, and the GitLab chart passes it through unchanged. The GitLab chart only overrides the PostgreSQL connection details (openbao.postgresql.configuration), not the pool settings. The end-to-end test was done on the OpenBao chart change, on a GKE cluster: gitlab-org/cloud-native/charts/openbao!91 (comment 4263558380)
- Not needed for this bump:
- Equivalent MR/issue for omnibus-gitlab opened.
- When ready for review, MR is marked as ready (not a draft) and assigned to a reviewer.
Reviewers checklist
- As soon as you begin reviewing, select Start a review on your first comment so the MR shows Reviewer started review.
- MR has a green pipeline on https://gitlab.com/gitlab-org/charts/gitlab.
- Consider downstream impact to the Operator, as per evaluating impact from changes to GitLab chart.