GitLab .com Production Deployment HTTPS

Hello all,

We are using Gitlab not self hosted on and deploying our branches with their Auto-devops features. This works fine but all environments for app-review are hosted on HTTP.
This is also true for the production branch. We are trying to host an API-Backend-Service not a static page as in Gitlab pages.

I read

  • How to setup your domain and custom ssl/tls certificates for self-managed instances
  • How to setup ssl/tls for GItlab pages
  • We deploy the application to a Kubernetes Cluster on GKE. A load balancer is created from ingress for TCP but not an HTTPS one. I tried to create an additional HTTPS Load balancer but could not point it to the specific internal network instance.

I am relatively new to Gitlab and GKE, but there must be a simple way to host the deployed production branch over HTTPS?

I would greatly appreciate any help.

Kind regards

I saw that for each branch the ingress controller is pointing the TLS to a non-existing secret e.g.:

  - host:
      - backend:
          serviceName: pre-production-auto-deploy
          servicePort: 5000
        path: /
  - hosts:
    secretName: pre-production-auto-deploy-tls

However, setting this secret to the key and cert files does not change it to HTTPS. Probably the enviroment URL needs to be changed too?