Add option "redirect":{"disable":true} in /etc/gitlab/gitlab.rb for registry with ceph s3 as storage
Registry for normal working with ceph s3 as storage needs option "redirect":{"disable":true}
in config.
Please add this option in /etc/gitlab/gitlab.rb
For example there is part of my working registry config /var/opt/gitlab/registry/config.yml
:
storage: {"s3":{"accesskey":"XXXXXXXXXXXXXXXXXXXX","secretkey":"XXXXXXXXXXXXXXXXXXXX","bucket":"registry","region":"us-east-1","secure":"false","v4auth":"false","regionendpoint":"http://s3.ceph:7480"},"cache":{"blobdescriptor":"inmemory"},"delete":{"enabled":true},"redirect":{"disable":true}}