You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For me, this makes bundles hard to use effectively, because the bundle isn't enough, you need to make sure that the consuming conftest call adds a -d flag. If there was a default policy/data folder, then I could publish bundles and consume them easily. (Note: the --combine flag is one obstacle, but can deal with that problem later)
The text was updated successfully, but these errors were encountered:
Hey, I want to pick up this issue.
Just a question on how the default value should be handled when loading data files if the default location doesn't exist? My current thought is to check when a folder not found error is thrown and then check if it is using the default path location and if so continue without throwing that error. Or would there be a better way?
Add default value as 'data' for the data flag. Updated data loading function to not throw an error if it is using the default data path and it is missing.
Fixesopen-policy-agent#800
I saw one or two very old comments about having a default
data
path (likepolicy/data
or justdata
), but it seems like there isn't one yet.#215 (review)
#169 (comment)
For me, this makes
bundles
hard to use effectively, because the bundle isn't enough, you need to make sure that the consumingconftest
call adds a-d
flag. If there was a defaultpolicy/data
folder, then I could publish bundles and consume them easily. (Note: the --combine flag is one obstacle, but can deal with that problem later)The text was updated successfully, but these errors were encountered: