rpc error when mirroring repo to Github
Summary
We have a self-hosted Gitlab v13.11.4 in our development environment and there's an error when trying to mirror repo to Github. We are using helm 3 and chart version is gitlab-4.9.5. We don't have /etc/pki/tls/certs/ca-bundle.crt but we have /etc/pki/tls/certs/ca-certificates.crt. we are using:
certificates: image: repository: registry.gitlab.com/gitlab-org/build/cng/alpine-certificates tag: 13-11-stable
and we used gitlab-webservice, gitlab-rails, gitlab-workhorse, gitlab-sidekiq v13.11.4-ubi8 images from registry.gitlab.com/gitlab-org/build/cng/
Steps to reproduce
Go to Settings - repository - mirroring repositories and put any Github repo and click update.
What is the current bug behavior?
13:close stream to gitaly-ruby: rpc error: code = Unknown desc = Gitlab::Git::RepositoryMirroring::RemoteError: fatal: unable to access 'https://github.com/millenniumparade/test/': error setting certificate verify locations: CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none .