is it possible to run opa with just the data being loaded from bundle #588
Unanswered
akshay410
asked this question in
OPA and Rego
Replies: 1 comment
-
We generally recommend policies and data be part of the same bundle. You could split the policy and data in separate bundles. This link provided more info. The config you've provided will not work. |
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
-
i want to run opa server with policies being read from a certain folder and all the data file to be loaded using a bundle. is it possible to do in opa
below is my config.yaml
paths is my path to folder where my policy files are present. in my bundle.tar.gz i have data.json containing all the data needed
i've tried running opa as
opa run -s -c config.yaml
opa run -s policy/ -c config.yaml
but in both of these scenario i'm not getting any response. looks like opa is not able to load rego policies. can someone please help me on this
Beta Was this translation helpful? Give feedback.
All reactions