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.artifactRegistry renders one shared body under both keys. Nothing renders when the block is disabled or apiUrl is unset.
  • Values key: unchanged. GitLab.com's k8s-workloads sets global.appConfig.artifactRegistry in gprd and gstg. 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_url and secret_file; neither renders when disabled.
  • Docs: product name is now "Artifact Central". The configuration page notes that both keys render and that artifact_registry goes away after GitLab 19.7.

Rollout order

  1. This chart MR merges to master.
  2. GitLab.com k8s-workloads vendors the new chart commit (it renders both keys). Renovate opens pre, gstg, and gprd bump MRs every Sunday. They usually merge within 1-3 days.
  3. gitlab-org/gitlab!272254 merges. Rails then reads artifact_central:.
  4. After GitLab 19.7, a follow-up chart MR removes artifact_registry:. A separate follow-up can rename the artifactRegistry values key, together with k8s-workloads.

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

🤖 Generated with Claude Code

Merge request reports

Loading
Loading