Description of problem:
The image registry operator, when S3 regionEndpoint is specified, tries to use virtual hosted bucket addressing like http://<bucketname>.<regionEndpoint>/<key>. This is not desired behaviour for S3-compatible storages like Minio.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install an OpenShift cluster and minio storage
2. change the config.imageregistry to use this storage, set the proper regionEndpoint
The operator includes the bucket name into the domain name.
The operator uses path-style addressing like http://<regionEndpoint>/<bucket>/<key>.
But if use http://<bucketname>.<regionEndpoint>/<key>,UnmarshalError appears, so report a bug as below: https://bugzilla.redhat.com/show_bug.cgi?id=1797512
Re-verify on 4.4.0-0.nightly-2020-03-29-132004:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.