mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-13 03:42:35 -06:00
16300529a2
This commit adds support to persist and load discovery bundle from disk. Only the discovery bundle itself is persisted and not the configuration produced by the discovery bundle. A new field is introduced in OPA's discovery configuration that can be optionally set to enable OPA to write and read the discovery bundle from disk. This feature would enable OPA to evaluate the discovery bundle in scenarios where it is unable to communicate with the bundle server on start-up. Fixes #2886 Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>