-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OPAL .manifest file is in conflict by name with OPA .manifest file #379
Comments
Hi @ztepsic :) - You can simply set the OPAL manifest file to a different path using Please close this issue if this resolves the problem for you; |
But this is only
This can be solution only for OPAL root .manifest file, but there can be OPAL .manifest files in subfolders, what is also causing issues.
|
True - you can have sub manifests file - but you don't have to - you can use one just in the root folder. I guess we can add an option via another ENV_VAR to search for a different file name in the recursive folders:
Would you be interested in doing a Pull-Request for this? I'm also open to other solutions you'd like to suggest. |
OPAL is defining .manifest file which is in conflict by name with .manifest file defined by OPA.
It means that you can only have one .manifest file, defined either for OPA or OPAL and not for both.
Example of OPAL .manifest file:
Example of OPA .manifest file:
If using VS Code Open Policy Agent plugin with "OPA: Test Workspace" command, OPA will complain about OPAL .manifest file that contains invalid content since it expects json
The text was updated successfully, but these errors were encountered: