How to add custom policy to APIcast?

Solution Verified - Updated -

Issue

  • I'm trying to create my custom policy according to 4.4. Adding custom policies to APIcast. When I run oc start-build apicast-custom-policies, it fails with error: error copying source path /opt/app-root/policies/example to policies: exit status 1 error.

Environment

  • Red Hat 3scale API Management 2.7.1 On-Premises
  • Red Hat 3scale API Management 2.13 On-Premises

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content