Geo: Update Geo container registry replication settings for Helm Charts

What does this MR do?

This code change makes three improvements to GitLab's geo-replication configuration:

  1. Fixes container registry setup: The logic for enabling container registry replication has been restructured to reflect recent chantes in the Charts documentation.

  2. Fixes a compatibility issue: Updates how the system retrieves server names to use a newer, more reliable method. This ensures the configuration works properly with current versions of the underlying automation tools.

These changes improve the reliability and maintainability of GitLab's geo-replication feature, which allows organizations to have synchronized GitLab instances across multiple geographic locations for better performance and disaster recovery.

Closes #1183 (closed)

Author's checklist

When ready for review, the Author applies the workflowready for review label and mention @gitlab-org/software-delivery/get-maintainers:

  • Merge request:
    • Corresponding Issue raised and reviewed by the GET maintainers team.
    • Merge Request Title and Description are up-to-date, accurate, and descriptive
    • MR targeting the appropriate branch
    • MR has a green pipeline
    • MR has no new security alerts in the widget from the Secret Detection and IaC Scan (SAST) jobs.
  • Code:
    • Check the area changed works as expected across all expected permutations.
    • Check that the changes work across upgrades.
    • Documentation created/updated in the same MR if applicable

Merge request reports

Loading