Error mounting S3 storage on image-registry pods

Solution Verified - Updated -

Issue

  • We have our on-perm S3 storage and want to use that object storage for the registry.
  • Following are the configuration configured on the image-registry custom resource (configs.imageregistry.operator.openshift.io/cluster)
  storage:
    s3:
      bucket: my2-registry
      region: xxxx.xx.xx.x
      regionEndpoint: xx.xxxx.xx.x.x.xx
    secret:
      secretName: image-registry-private-configuration-user
  • The following error message are reported on the status section of the image-registry custom config.
  Last Transition Time:  2020-03-02T21:07:32Z
    Message:          Unable to apply resources: unable to sync storage configuration: MethodNotAllowed: Method Not Allowed status code: 405, request id: xxxxxxxxx, host id:
    Reason:             Error
    Status:               True

Environment

  • Red Hat OpenShift Container Platform
    • 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In