You need to sign in or sign up before continuing.
Make hostNetwork configurable
Description
Our Gitlab server lives on a private network, and our Kubernetes infra is GKE so we don't have the level of control needed to finagle the network settings to work around our issue. While we can specify in the k8s deployment that the gitlab-runner pod have hostNetwork
enabled to check out builds, none of the pods that are spun up by gitlab-runner itself are configurable for this.
In order to accomplish this I had to compile a custom image with hostNetwork
enabled.
Proposal
Please make hostNetwork
a configurable option.
Furthermore, a more flexible configuration format to accommodate broader range of k8s config than the bits you've explicitly chosen would be nice.