Connect to gitlab instance using self-signed cert with runner on OpenShift
Hello
I followed the steps to install gitlab runners on OpenShift 4.x. The runner pod shows this error on startup:
ERROR: Registering runner... failed runner=***** status=couldn't execute POST against https://ourgitlab./api/v4/runners: Post https://ourgitlab/api/v4/runners: x509: certificate signed by unknown authority
PANIC: Failed to register the runner. You may be having network problems.
Looking at the Runner CRD, I see a ca
key, but it's value is supposed to reference a tls secret, which requires both cert and key - not something I can use to specify a trusted CA (I don't have a key and I should not need to provide it).
Please help me configure the runner to trust our self-signed cert. Thank you!
Edited by Darren Eastman