k8s Helm上運行 gitlabrunner 啟動失敗
ERROR Msg:
Merging configuration from template file "/configmaps/config.template.toml"
Token specified trying to verify runner...
WARNING: If you want to register use the '-r' instead of '-t'.
ERROR: Verifying runner... is removed runner=QUnFmiow status=POST https://git.yourdomain.com/api/v4/runners/verify: 403 Forbidden
PANIC: Failed to verify the runner. You may be having network problems.
Registration attempt 19 of 30
Runtime platform arch=amd64 os=linux pid=330 revision=f5da3c5a version=16.6.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...
solution: 檢查values.yml 的gitlab runner token 是不是放錯位置, 以上錯誤訊息, 我是把token 放在錯誤的"runnerToken", 正確應該放在"runnerRegistrationToken", 可以試看看.