-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Currently OPA does not allow users to supply plugin config when Discovery is enabled. The reason for this was to prevent OPAs being deployed that could not be controlled through discovery. In some cases though we've found that the user deploying OPA must be able to make local overrides even when discovery is in place, e.g., because the system serving the discovery config is unaware of all options available in OPA.
To address this we can relax the configuration check when discovery is enabled so that the bootstrap configuration can contain plugin configs. In case of conflicts, the bootstrap configuration for plugins should win. These local configuration overrides from the bootstrap configuration could be included in the Status API messages so that management systems can at least visibility into the local overrides.
For example, to enable console decision logging when an opa-config.yaml
relies on discovery, the user would just need to:
opa run -c opa-config.yaml --set decision_logs.console=true
Metadata
Metadata
Assignees
Type
Projects
Status