Commit 29a30183 authored by Stan Hu's avatar Stan Hu

Registry: Disable URL validation by default

Docker v2.7.0 changed the behavior from v2.6.2 in that it enabled the
validations to check manifest URLs by default, which caused the registry
to set the allowed URL regexp to nothing (`^$`) instead of `nil`. This
caused the container registry to reject any foreign layers that
contained URLs. We fix this by disabling the validations with the
newly-introduced `disabled` flag.

See for more details.

This mirrors what we did in Omnibus:
parent 7cb2d661
Pipeline #42160663 failed with stages
in 8 minutes and 8 seconds
......@@ -30,3 +30,5 @@ auth:
issuer: gitlab-issuer
rootcertbundle: /root/certs/certbundle
autoredirect: true
disabled: true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment