*I have configured GitLab CE in an EC2 instance, EKS cluster with GitLab Runner, enabled container registry, and using self-signed certificate *
I have already completed the following steps
- Configured container registry and can perform login
- Configured GitLab Runner using helm on EKS cluster, provided certs as certsSecretName
I’m facing an error while executing the pipeline with image in the Container Registry
WARNING: Failed to pull the image with policy "": image pull failed: rpc error: code = Unknown desc = Error response from daemon: Get "https://domain:port/v2/": x509: certificate signed by unknown authority
- I have already tried to mount the tls chain same as GitLab runner using the config.toml file but it didn’t work"
config: | [[runners]] environment = ["GIT_SSL_NO_VERIFY=true"] [runners.kubernetes.node_selector] "kubernetes.io/os" = "linux" [runners.kubernetes] namespace = "example" image = "container_registry:port/group/image:latest" pullpolicy = "always" poll_timeout = 3600 [[runners.kubernetes.volumes.secret]] name = "secret" mount_path = "/home/gitlab-runner/.gitlab-runner/certs/" read_only = true