Creating CORS rule

Configure cross-origin resource sharing (CORS) rules using the object browser in the OpenShift Web Console.

Before you begin

  • Administrators: Administrator access to Fusion Data Foundation.
  • Developers: Logged in to the object browser using secret namespace and secret name. For more information see Accessing the object browser.
  • Ensure that the selected storage endpoint (MCG or RGW) is deployed and its pods are healthy.

Procedure

  1. In the OpenShift Web Console, navigate to Storage > Object Storage.
  2. From the Storage endpoint selector, choose MCG or RGW, then open the bucket.
  3. In the bucket view, click the Permission tab and then click the CORS tab.
  4. Click Create CORS rule.
  5. Provide a name for the rule.
  6. Configure allowed origins*.
  7. Select Allowed methods.
  8. Configure allowed headers.
  9. Enter the maximum age of preflight request in seconds.
  10. Click Create.