Gitlab Cloud Native Helm install with private container repositories

Hi team,

I am working through a deployment strategy for gitlab using Helm hosted on prem. We are need to pull and push all required Helm charts and container images to local repositories, which is not a problem… Where I get lost is then setting image.repository for all the sub-charts.

Registry works well when set either by --set or values.yml:

    registry:
     image:
       repository: private.repo/gitlab-container-registry

Busybox works with via both --set and values.yml:

    global:
        busybox:
            image:
              repository: private.repo/busybox

When I get to gitaly I can’t see there is a way via the values.yml at helm install or upgrade stages for gitlab.

I have tried setting both global setting and chart setting in values.yml via --set commands:

    helm template -g gitlab/gitlab \
    --set global.gitaly.image.repository="private.repo/gitaly"

or

    helm template -g gitlab/gitlab \
    --set gitaly.image.repository="private.repo/gitaly"

with no visible changes via the output values.yml file.

Am i missing something? Any help appreciated. I need to set all images to come from a local registry.

Seems I will answer my own question :blush:
In the values file there is a section to specify sub-chart settings under the gitlab key. The section is titled:

 ## Settings for individual sub-charts under GitLab

gitlab:
  gitaly:
    image:
      repository: "private.repo/gitaly"

Setting task-runner image repo as follows:

gitlab:
  task-runner:
    image:
      repository: private.repo/gitlab-task-runner-ce

Does render correctly when running the new values file via helm template -g gitlab/gitlab -f values.yml

Ok: here is what i needed to find before posting here: Bringing your own images | GitLab