Skip to content

Use Path on GitLab Ingress

Summary

We are in the process of figuring out our migration from the Omnibus package to the Helm chart. However, without an option to be able to provide a path for the GitLab URL (in our case, /gitlab), we would have to change the URL of our current GitLab deployment. I can edit the Ingress created by GitLab manually to use the /gitlab path, but GitLab itself is unaware of this path.

Is there any way in the chart that I can forcibly inform GitLab that it is available at /gitlab?

Thanks

Configuration used

    global:
      hosts:
        domain: company.com
        gitlab:
          name: company.com
          servicePort: 80
        registry:
          name: registry.company.com
      ingress:
        path: /gitlab
        enabled: true
        configureCertmanager: false
        class: none
        tls:
          secretName: gitlab-gitlab-tls

Current behavior

Unable to provide a path for Gitlab to be deployed to using the Helm chart

Expected behavior

Ability to configure GitLab to be deployed to a path, as is possible using the Omnibus package

Versions

  • Chart: 5.10.5
  • Platform:
    • Self-hosted: Rancher RKE
  • Kubernetes: (kubectl version)
    • Client: v1.24.3
    • Server: v1.23.8
  • Helm: (helm version)
    • Client: v3.9.4