Hi,
we are running a gitlab instance on prem. The gitlab instance’s certificate is signed by a private ca.
I want to install runners in kubernetes, but get
ERROR: Registering runner... failed runner=ymx1Xesa status=couldn't execute POST against https://gitlab.mydomain.de/api/v4/runners: Post https://gitlab.internal.dtpublic.de/api/v4/runners: x509: certificate signed by unknown authority
PANIC: Failed to register the runner. You may be having network problems.
I try to install via helm chart.
I’ve already created a generic kubernetes secret runner-tls-secret
which has an entry ca.cert
which holds the pem certificate of our CA. I’ve checked it within the container, the certificate file is available at /home/gitlab-runner/.gitlab-runner/certs/ca.crt
How can I register and run a runner on k8s successfully against an a selfsigned gitlab instance?
Thanks a lot, Andreas