-
|
We are using OPA v0.65. Our policies are organized in folders, each containing a Rego file and a static data.json. When creating a bundle for the OPA server, the folder structure is preserved and becomes part of the data namespace, so imports like However, when building WASM policies, the same structure is not preserved, and the data appears at the root (data.jsonkey) instead. wasm build command Example structure
Issue
Questions
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hey! Thanks for raising this. First and foremost, OPA v0.65.0 is years old by now -- please upgrade. You're missing out on loads of new features, performance improvements and bug fixes. About the issue, can you try building your wasm bundle in a different way? Try this, please: |
Beta Was this translation helpful? Give feedback.
Hey! Thanks for raising this.
First and foremost, OPA v0.65.0 is years old by now -- please upgrade. You're missing out on loads of new features, performance improvements and bug fixes.
About the issue, can you try building your wasm bundle in a different way? Try this, please: