OPAL is not finding the Policy when setup with API Bundle Server #507
-
I want to setup OPAL to get the Policy from an API Bundle Server instead of a git repo. I have followed the example in docker-compose-api-policy-source-example.yml OPAL Server downloads the bundle.tar.gz file in /tmp but does not extract it to the local folder. I tried cloning the example project but still the same error |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Hi @hadiKh19 - we'd need the server logs to provide more help here. |
Beta Was this translation helpful? Give feedback.
-
I ran the example without changes but still the same error For creating the tar.gz file i have used OPAs build bundle command |
Beta Was this translation helpful? Give feedback.
-
Thanks @hadiKh19 , we'll investigate (might be a regression). @roekatz is this maybe a regression in a recent version? CC: @asafc |
Beta Was this translation helpful? Give feedback.
-
Hi @Hadi-Khouja , Sorry for the delay. Maybe it is a bit confusing - I'll update the docs to make this point clearer :) |
Beta Was this translation helpful? Give feedback.
Hi @Hadi-Khouja , Sorry for the delay.
OPAL bundles are not OPA bundles, they are an alternative for tracking a git repository.
You can create a bundle by doing something like
cd opal_files\ ; tar -czf bundle.tar.gz *
.Maybe it is a bit confusing - I'll update the docs to make this point clearer :)