How to change gitlab-runner-helper image registry when the runner is gitlab-managed-app?

  1. I assigned one kubernetes cluster to a gitlab project (on a self-managed gitlab instance).
  2. I installed gitlab-runner as “gitlab-managed-app” into this cluster.
  3. I need to change the gitlab-runner-helper image registry – Because my k8s cluster does not have access to its official registry.
  4. I’ve read official documentation which relys on updating config.toml of gitlab-runner - I think that’s not for a k8s deployment.
    So: How can I get it changed?
    Thank you!
1 Like

For fix this problem you can check this doc from gitlab
and for faster solving in your helm values.yaml find:

  config: |
    [[runners]]
      [runners.kubernetes]
        namespace = "{{.Release.Namespace}}"
        image = "alpine"
        helper_image = "yourregistry.example.com/gitlab-runner/gitlab-runner-helper:x86_64-v17.10.1"

and add helper_image value like above and update your helm it should be fixed!

1 Like