hostnameOverride is not working
Summary
The documentation notes the global.ingress.hostnameOverride
and global.hosts.gitlab.hostnameOverride
values, but they do not work for me.
https://docs.gitlab.com/charts/charts/globals.html#configure-ingress-settings
Steps to reproduce
- Create the
value.yaml
helm install gitlab gitlab/gitlab --namespace gitlab --create-namespace -f values.yaml
Configuration used
global:
hosts:
domain: example.com
gitlab:
hostnameOverride: gitlab.tools.example.com
## use the custom TLS certificate
ingress:
class:
hostnameOverride: gitlab.tools.example.com
tls:
secretName: tls-gitlab
## use an existing ingress controller
nginx-ingress:
enabled: false
Current behavior
The ingress is created for gitlab.gitlab.example.com
and the used domain is gitlab.gitlab.example.com
Expected behavior
The ingress is created for gitlab.tools.example.com
but the used domain of Gitlab is gitlab.example.com
This is needed since a reverse proxy is listening on gitlab.example.com
and forwarding the requests to the internal network to gitlab.tools.example.com
Versions
- Chart: 4.8.4
- Platform:
- Self-hosted: K3s
- Kubernetes: (
kubectl version
)- Client: v1.20.0
- Server: v1.19.7+k3s1
- Helm: (
helm version
)- Client: v3.4.2
Edited by Samuel Schober