What I have set up:
- I have a kubernetes cluster on a private network with NAT internet access (cluster cannot be reached from outside the private network)
- I have registered the agent on gitlab successfully
- I have a Gitlab Runner on the same private network as the cluster
- I have registered the runner on gitlab successfully
Will the KUBECONFIG for the agent in the CI/CD pipeline work if my self hosted runner executes the pipeline job?
I know it wouldn’t work with a shared runner, because there is no external access to the cluster, but my own runner is on the same network as the cluster and thus should have access. I am not sure what address the KUBECONFIG would try to use to reach the cluster.