Expose internal_url setting for Geo secondaries

Merged Catalin Irimie requested to merge cat-expose-internal-url-for-geo-secondaries into master

What does this MR do and why?

This enables admins to set an internal URL for Geo secondaries.

The field already existed in the backend but was intentionally not exposed to the frontend for simplicity.

This is a pre-requisite to enable the primary to query the secondaries data directly through this URL.

Related to #345420 (closed)

Screenshots or screen recordings

Before After
image image
image image

How to set up and validate locally

  1. https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/geo.md
  2. Go to /admin/geo and notice the internal URL field for the secondary like for the primary, and also when clicking edit on a node

(should be pretty straightforward as the fields already exist for a primary and are hidden for a secondary like shown in the screenshots above)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Catalin Irimie