Skip to content

Support configuring GitLab with a relative URL root

Summary

GitLab chart is currently limited to deploying GitLab at the root path of a domain or subdomain. Meanwhile Omnibus and source installation methods also offer the ability to configure a relative_url_root, allowing GitLab to be deployed at a custom path (such as source.example.com/gitlab).

To maintain feature parity across all installation methods, GitLab chart should also support this functionality. Optimally, this can be configured by setting a single (global) value.

Links

Acceptance Criteria

  • GitLab can be deployed with a relative URL root
    • Rails configured for relative URL root
    • Workhorse configured for relative URL root
    • GitLab shell configured for relative URL root
    • Gitaly configured for relative URL root
    • Set RAILS_RELATIVE_URL_ROOT for sidekiq mailers (gitlab-org/omnibus-gitlab!1381 (merged))
  • Ingress changes implemented (if necessary)
  • Probe changes implemented (if necessary, probably not needed per !4462 (comment 2685814895))
Edited by Clemens Beck