Initial setup of of Helm runner returning InvalidImageName (Init:InvalidImageName)
I have looked through the issues here and I cannot seem to find the answer to my issue.
We have an older version of gitlab. I'm working to move it to HEAD in the next few weeks. I'm trying to install a helm 3 gitlab-runner chart which should install 0.16.2 (gitlab--runner 12.10.3)
I'm running this command:
helm install --namespace xxxx-runners gitlab-runner --version 0.16.2 -f path/to/my/config.yaml gitlab/gitlab-runner
The config file has the registry and image like so.
image: registry: registry.gitlab.com image: gitlab-org/gitlab-runner
When I look at the pod in my gitlab runner namespace, it returns this
(Init:InvalidImageName)
The pod log returns this
Init:InvalidImageName Error from server (BadRequest): container "gitlab-runner-gitlab-runner" in pod "gitlab-runner-gitlab-runner-f89965f5f-2t2pn" is waiting to start: PodInitializing
I've also switched up by trying to pull this version from docker.io (in the config file) with the same result.
Describing the pod looks like this:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 69s default-scheduler Successfully assigned xxx-runners/gitlab-runner-gitlab-runner-6857f5f587-7fvnm to ip-xx-xxx-xxx-xxx.ec2.internal
Warning InspectFailed 8s (x8 over 69s) kubelet Failed to apply default image tag "map[image:gitlab/gitlab-runner registry:docker.io tag:v12.10.3]": couldn't parse image reference "map[image:gitlab/gitlab-runner registry:docker.io tag:v12.10.3]": invalid reference format
Warning Failed 8s (x8 over 69s) kubelet Error: InvalidImageName
So clearly I've made a mistake somewhere. I'm hoping someone here can help me understand what I've done wrong. I've tried following the docs as closely as possible. (But admittedly, this is the first time I've used Helm for anything.)