Kubernetes Integration

I’ve tried to setup Cluster for a project and selected existing cluster.

The Gitlab instance I’m testing with is actually running on the cluster itself so I’ve tried:

https://kubernetes.default.svc.cluster.local/

I’ve tried the external address:

https://api.k8s.example.com/

Either way results in:

Kubernetes error: SSL_connect returned=1 errno=0 state=error: certificate verify failed

I have the same issue. I am assuming it is because of self signed certificates.

In my kubeconfig, I can add insecure-skip-tls-verify: true, but GitLab isn’t giving that option.

Check my answers on this post

Happy hacking!