can someone of GitLab maybe give us a short hint if this is supported at all?
After some hours of research my guess is, that they don’t want it to work with self-hosted Kubernetes…
I successfully set up GitLab to work with microk8s. I needed to edit /var/snap/microk8s/current/certs/csr.conf.template and add the hostname and fqdn to the [ alt_names ] section.
For ingress to work properly I had to enable metallb with the IP address of the system running microk8s.
Below is the content of my /var/snap/microk8s/current/certs/csr.conf.template file after my edits. The only edit was to add the line starting with "DNS.6 = " with the value equal to the dns host name used in API URL gitlab setting.