Skip to content

Using 'OPA run config-file' to define policy file and policy json data file #382

Discussion options

You must be logged in to vote

Hi! No, those are passed only from the command line. The reason for that is that bundles provided via config are commonly remote, and require things like credentials to fetch. These bundles also commonly update during the course of OPAs deployment, while file system bundles don't. Shorter version: use bundles on disk for local development, and remote bundles for testing/stage/production.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@Ronnie-personal
Comment options

Answer selected by Ronnie-personal
Comment options

You must be logged in to vote
2 replies
@anderseknert
Comment options

@Ronnie-personal
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants