Docker container images required to install GitLab CE offline with Helm

Hi, I’m trying to install GitLab CE v13.9.1 using Helm chart v4.9.1.

However, I’m doing this in an air-gapped environment with only a private docker registry using Nexus3.
My k3s is configured to pull images from this registry already and it works but I need to upload the images required for GitLab CE both image name and tag and I cannot find that list anywhere.

The default values.yml in the chart even says the following:

## NOTICE
# Due to the scope and complexity of this chart, all possible values are
# not documented in this file. Extensive documentation for these values
# and more can be found at https://gitlab.com/gitlab-org/charts/gitlab/ 

However the chart documentation most of the time has the tag master or an empty tag for the image.

My question is, is there such a list? containing all the images that GitLab helm chart will use to configure GitLab?

Thanks a lot!!!

1 Like

I’ve done something similar due to a corporate firewall being a DENY *.

My advice is to git clone the main helm install repo up to your destination (or tarball it locally and unload it at destination).

you can pretty much do a one line ack-grep or grep for “image:” and find every container that will be pulled. Some are public with default docker registries like ‘busybox:latest’ others will be prometheus, grafana ,etc. You’ll have a slew of gitlab.io / com containers for the actual gitlab deployments.

MAKE sure to pull the containers that match your helm chart clone. I was doing a helm install of a local clone that was 4 weeks old and kept failing due to mismatches.

edit: where container:master OR latest, you’ll need to go to that containers repo and pull that image, it’ll be version of the gitlab edition you have I’m pretty sure. gitlab 13.11.3-ee should have webservice:13.11.3 etc.

Thanks a lot!.

I greped but I only got a partial list of the images and the tags required for a given version of gitlab.

What I did was a good ol’ try and error and I managed to get a list of them in the end.

Some of the image tags matches the version but some don’t, for example gitlab/gitlab-runner-helper:x86_64-v13.11.0.

I have seen runners be slightly different, including the dind runner. I’m glad you made progress.

also every sub-chart should be included in the repo clone, so a recursive grep (ack) or ‘grep -nir’ should have found them all.