Skip to content

Allow overriding the controller manager image.

Status update (2022-12-21)

  • We do not believe there is a way to change the manager image without rebuilding the Operator or without modifying the CSV of the installed Operator. The manager is the first container that's started, that container deploys Runner and so on.

  • As of this time, there is no defined solution for this feature request.

Overview

One of our customer is requesting the feature to allow overriding the image for the controller manager. One reason for this is their Kubernetes nodes can't connect outside of their network.

If not possible, we can also add in our documentation on how to do this properly. On my end, I tested this by manually editing the ClusterServiceVersion for the GitLab Runner Operator:

oc -n openshift-operators edit csv gitlab-runner-operator.v1.9.0

Then locate the image: keyword for the gitlab-runner-controller-manager deployment. We have two containers running here so we have to replace both.

Edited by Darren Eastman