Opa with external data #660
Replies: 2 comments
-
Hi there! I believe the compiler currently is invoked on even when only data changes, as some checks (like conflicting paths) rely on both data and policy.. but could be there are some exceptions to that. @srenatus would you happen to know? Relevant open-policy-agent/opa#2282 |
Beta Was this translation helpful? Give feedback.
-
The store as passed to |
Beta Was this translation helpful? Give feedback.
-
OPA policy is unchangeable and using external data which changes every minute.
For external data i use store on stage of rego creation.The compiled rego saved in cache.
the eval:
p.pq.Eval(ctx, append([]rego.EvalOption{rego.EvalParsedInput(process))
I want to update rego with new storage every minute . I do't want to recompile each time, just update the storage . Is it possible ?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions