Drone-runner-kube images in private registry and air-gapped environment

drone-runner-kube images in private registry

Hi all - I am trying to test drone in a air-gapped environment with access to our private registry only from the test cluster. When a pipeline starts the pod that is launched tries to pull from docker hub for drone-git drone-placeholder, etc.

How can this be overridden?

Alternatively, can I use something other than the drone-runner-kube approach if it isn’t ready for this type of problem?


Hi Wade,

You can use the DRONE_IMAGE_CLONE environment variable [1] to override the default clone image and provide with your own. You will also want to use your own copy of the placeholder image [2].

[1] https://docs.drone.io/runner/kubernetes/configuration/reference/drone-image-clone/
[2] https://docs.drone.io/runner/kubernetes/configuration/reference/drone-image-placeholder/


bradrydzewski !

I’m in business.

Again really appreciate the help.