Я развернул Heml Chart gitlab / gitlab на GKE
helm install gitlab gitlab/gitlab \
--set global.hosts.domain=**my.domain.tld** \
--set certmanager-issuer.email=me@example.com
, а затем интегрировал GKE с GitLab. Интеграция прошла успешно Но автоматически созданный модуль Runner'а не работает при регистрации с ошибкой
ERROR: Registering runner... failed
status=couldn't execute POST against https://gitlab.my.domain.tld/api/v4/runners:
Post https://gitlab.my.domain.tld/api/v4/runners: dial tcp:
lookup gitlab.my.domain.tld on 10.0.0.10:53: no such host
Как я могу изменить / etc / hosts? Или добавить системную переменную с ip в gitlab.my.domain.tld?
PS Также я пытался использовать Helm Chart gitlab / gitlab-runner с config,
helm install gitlab-runner -f values.yaml gitlab/gitlab-runner
# values.yaml
gitlabUrl: https://gitlab.my.domain.tld/
runnerRegistrationToken: <token>
concurrent: 10
rbac:
create: true
clusterWideAccess: false
runners:
image: ubuntu:18.04
hostAliases:
- ip: <ip_of_my_gitlab>
hostnames:
- "gitlab.my.domain.tld"
но это не удается при регистрации с другой ошибкой
ERROR: Registering runner... failed
runner=ipdNGq79 status=couldn't execute POST against https://gitlab.my.domain.tld/api/v4/runners:
Post https://gitlab.my.domain.tld/api/v4/runners:
x509: certificate signed by unknown authority
Может быть, исправить эту проблему проще, чем настроить автоматически созданный модуль Runner's? Где я могу получить необходимый сертификат? Спасибо!