Loading
Move external Valkey to Valkey chart 1.0
What does this MR do?
Valkey chart 1.0 renames dataStorage.* to persistence.* and valkeyConfig to extraConfig, and refuses the old keys. Consumers of scripts/ci/lib/valkey.sh that don't set VALKEY_CHART_VERSION get chart 1.0 and fail, for example this Operator job.
valkey.shuses the 1.0 keys. CI andscripts/dev_dependencies.shpin chart1.0.0.- The bundled chart migration guide uses chart 1.0 and adds an upgrade from 0.x. That upgrade passes the complete values, because 1.0 refuses
--reuse-valuesfrom 0.x.
Validated on kind: the existing dev setup upgrading in place, a fresh install, and the documented 0.x upgrade with and without AOF all kept their data.
Related issues
Follows up on !5537 (merged). Operator stopgap: gitlab-org/cloud-native/gitlab-operator!1903 (merged).
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. (Not applicable: documentation and CI script change only.)
- Have you validated that your change works end-to-end on a real cluster deployment?
- Equivalent MR/issue for omnibus-gitlab opened. (Not applicable.)
- 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.
Edited by Clemens Beck