Runner fails to pull images from private registry not hosted by Gitlab
Runner fails to pull images from private registry not hosted by Gitlab
Summary
We have a local Gitlab Installation, coupled with Runners in a local Kubernetes cluster, installed by Helm. When trying to pull from a private container registry (NOT HOSTED BY GITLAB) we get an error:
ERROR: Job failed: image pull failed: Back-off pulling image
Steps to reproduce
- Gitlab Omnibus Installation
- Gitlab Runner installed on K8S cluster via helm
- Container registry not hosted by Gitlab
Configuration
Apparently the chart does not use the value configured under the key Values.runners.imagePullSecrets
in the values.yaml
file, which prevents the runner from pulling images from the private registry
Current behavior
Runner can't pull images from private registry not hosted in Gitlab
Expected Behavior
Pull images from private registry
Versions
- Chart: 12.2.0
- Platform
- On premises
- Kubernetes
- Client:
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5", GitTreeState:"clean", BuildDate:"2019-03-25T15:53:57Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}
- Server:
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.3", GitCommit:"5e53fd6bc17c0dec8434817e69b04a25d8ae0ff0", GitTreeState:"clean", BuildDate:"2019-06-06T01:36:19Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
- Client:
- Helm
- Client:
Client: &version.Version{SemVer:"v2.13.1", GitCommit:"618447cbf203d147601b4b9bd7f8c37a5d39fbb4", GitTreeState:"clean"}
- Server:
Server: &version.Version{SemVer:"v2.13.1", GitCommit:"618447cbf203d147601b4b9bd7f8c37a5d39fbb4", GitTreeState:"clean"}
- Client:
Relevant logs
N/A