opal icon indicating copy to clipboard operation
opal copied to clipboard

docker-compose-api-policy-source-example.yml fails with an exception

Open junekim3 opened this issue 2 years ago • 0 comments

Describe the bug I'm trying to run the example API policy source by executing the command: docker-compose -f docker-compose-api-policy-source-example.yml up Please note that I cloned the opal today. So I'm working with the latest code.

I get the following exception: "AttributeError: 'ApiPolicySource' object has no attribute 'policy_bundle_git_add_pattern'" 2022 05 14-12 31 30-cmd

As a result, opa-client fails to fetch the bundle with exception: |ERROR | OPA transaction failed, transaction id=66c46a438e7941eea37d4a74d0183b3c, actions=[], error=ValueError('unexpected response code while fetching bundle: 503')

OPAL version

  • Version: latest as of today 5/14/2022

Can you help resolve it? I'm evaluating OPAL with bundle server.

Thank You, June

junekim3 avatar May 14 '22 19:05 junekim3