I have GitLab Omnibus running in a Kubernetes cluster, with NodePort ports for web (80
) and the docker container registry (5050
).
I've setup Ingress URLs (www.gitlab.xxx.yyy
, registry.gitlab.xxx.yyy
) so that clients don't have to know the NodePort assignments.
The config /etc/gitlab/gitlab.rb
has:
registry_external_url 'https://registry.gitlab.xxx.yyy:5050'
The problem is that the registry URL shown to users is
registry.gitlab.xxx.yyy:5050/foo/bar
when what it really should be is
registry.gitlab.xxx.yyy/foo/bar
How can I configure GitLab to show a custom URL on its pages but still run the service on port 5050
?