Loading
Render Rails config under both artifact_registry and artifact_central
What does this MR do?
Renders the Rails gitlab.yml block under both artifact_registry: and artifact_central:. Both keys get the same api_url and service_token.secret_file, from the existing global.appConfig.artifactRegistry values.
This is a transition step for the Artifact Registry to Artifact Central rename. GitLab is renaming the Rails config key in gitlab-org/gitlab!272254. Rendering both keys lets the chart work with Rails before and after that MR, so GitLab.com does not lose its Artifact Central config.
- Template:
gitlab.appConfig.artifactRegistryrenders one shared body under both keys. Nothing renders when the block is disabled orapiUrlis unset. - Values key: unchanged. GitLab.com's k8s-workloads sets
global.appConfig.artifactRegistryingprdandgstg. Renaming it needs a coordinated k8s-workloads change, so it is a follow-up. - Secret mount path: unchanged (
/etc/gitlab/artifact-registry/.gitlab_artifact_registry_secret). - Specs: both keys render with the same
api_urlandsecret_file; neither renders when disabled. - Docs: product name is now "Artifact Central". The configuration page notes that both keys render and that
artifact_registrygoes away after GitLab 19.7.
Rollout order
- This chart MR merges to
master. - GitLab.com k8s-workloads vendors the new chart commit (it renders both keys). Renovate opens
pre,gstg, andgprdbump MRs every Sunday. They usually merge within 1-3 days. - gitlab-org/gitlab!272254 merges. Rails then reads
artifact_central:. - After GitLab 19.7, a follow-up chart MR removes
artifact_registry:. A separate follow-up can rename theartifactRegistryvalues key, together with k8s-workloads.
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?
- Describe how you did it in a comment.
- 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.