To allow Kubernetes to pull from the GitLab Registry. Create a token in the GitLab Group Settings (Settings > Repository > Deploy Tokens) and add it to your cluster like so:
kubectl create secret docker-registry regcred --docker-server=registry.gitlab.com --docker-username=*** --docker-password=***
Donβt forget to add the docker secret to the manifest YAML where you want to use an image from the specified registry. Add:
[...]
spec:
containers:
- name: otree04
image: registry.gitlab.com/oforest/ogardener:latest
[...]
imagePullSecrets:
- name: regcred # put in the name of your secret here
[...]
Next you can read, how to set up a fully functional pipeline.
Designed & Developed by Jasper Anders