Gitlab Runner version 15.8.1 not supporting the registration token for registering the runner with helm install
What is the issue ?
I am trying to install the gitlab runner on my self managed gitlab instance with gitlab version (15.8.1) and gitlab runner helm chart version (version: 0.49.1). I was facing the below issue or error
Merging configuration from template file "/configmaps/config.template.toml"
WARNING: Support for registration tokens and runner parameters in the 'register' command has been deprecated in GitLab Runner 15.6 and will be replaced with support for authentication tokens. For more information, see https://gitlab.com/gitlab-org/gitlab/-/issues/380872
ERROR: Registering runner... forbidden (check registration token) runner=GR1348941mKfY-Pk_
PANIC: Failed to register the runner.
Registration attempt 12 of 30
Runtime platform arch=amd64 os=linux pid=186 revision=f86890c6 version=15.8.1
WARNING: Running in user-mode.
WARNING: The user-mode requires you to manually start builds processing:
WARNING: $ gitlab-runner run
WARNING: Use sudo for system-mode:
WARNING: $ sudo gitlab-runner...
What is the expected behaviour?
Login to your gitlab instance and select specific project under Setting-CICD-Runners-copy the registration token
Deploy the gitlab runner helm chat with executor as kubernetes and change the gitlaburl to your instance domain name and registration-token as above copied one and deploy the chart using helm install
Runner should be installed under project-Setting-CICD-Runners
Edited by Achilleas Pipinellis