Persistance of docker volume of OPA Service not working #609
Unanswered
Mel3530
asked this question in
OPA and Rego
Replies: 1 comment
-
Hey @Mel3530, I'm afraid that policy set via the REST API will not be persisted to disk. Bundles loaded over the bundle service API can be set to be persisted to disk: https://www.openpolicyagent.org/docs/latest/management-bundles/#bundle-service-api, however this is generally less commonly used in containerised environments. What is it that you need to do with OPA? Perhaps we can help make it work another way? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have an OPA service configured in Docker Compose as follows:
I have an empty directory named
./opa/data
. I'm able to start the container (opa_dev) without any errors in the logs. However, I'm facing an issue where new rules added via a curl request to an API are not persistently stored in the volume. I would greatly appreciate any help you can provide. I've searched many resources but haven't found a solution to fix it.Beta Was this translation helpful? Give feedback.
All reactions