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): 4.1.0 How reproducible: Steps to Reproduce: 1. install an OpenShift cluster and minio storage 2. change the config.imageregistry to use this storage, set the proper regionEndpoint Actual results: The operator includes the bucket name into the domain name. Expected results: 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: storage: s3: bucket: wzheng-44bug-bcwqr-image-registry-us-east-2-yfjbspjvnpcuouygwi encrypt: true keyID: "" region: us-east-2 regionEndpoint: https://s3.us-east-2.amazonaws.com/
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. https://access.redhat.com/errata/RHBA-2020:0581