Skip to content

`certificate is valid for ingress.local, not gitlab.internal.XXXX.com` on EKS

Summary

Trying to deploy gitlab to EKS fails with the following gitlab-runner error:

ERROR: Registering runner... failed                 runner=kC9vy2eU status=couldn't execute POST against https://gitlab.internal.XXXX.com/api/v4/runners: Post https://gitlab.internal.XXXX.com/api/v4/runners: x509: certificate is valid for ingress.local, not gitlab.internal.XXXX.com

Steps to reproduce

helm upgrade --install --namespace gitlab gitlab gitlab/gitlab \
  --timeout 600 \
  --set global.edition=ce \
  --set global.hosts.domain=internal.XXXX.com \
  --set certmanager-issuer.email=devops@XXXX.com

Versions

  • Chart: upstream
  • Platform:
    • Cloud: EKS
  • Kubernetes: (kubectl version)
    • Client: v1.13.3
    • Server: v1.11.5-eks-6bad6d
  • Helm: (helm version)
    • Client: v2.12.3
    • Server: v2.12.3