Bundle discovery with space in the root #578
Replies: 2 comments 3 replies
-
This sounds odd indeed. Can you please clarify what you've tried to come to this conclusion? ⏬
|
Beta Was this translation helpful? Give feedback.
3 replies
-
Closing this in favor of open-policy-agent/opa#6704. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I noticed a strange behavior when the agent is configured with bundle discovery, and one of the bundles looks like this:
.manifest:
{ "revision": "abc", "roots": ["a/b/foo bar"] }
and the bundle contains the following file structure:
In this case the bundle is not loaded, but interestingly there is no error message either, only "Bundle loaded and activated successfully. Etag updated to ..."
The same bundle loads perfectly if loaded statically:
opa run -s -b bundle.tar.gz
I am not sure whether this is intended or a bug, that's why I initiated a discussion.
And unfortunately we get the roots for these bundles from an external system, so we have no influence on them.
I can implement a workaround though by creating a "dictionary" bundle and using standard names in the roots, but if there would be a direct solution I would prefer that instead.
Any comment is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions