OPA governance using Discovery API #584
Replies: 1 comment 3 replies
-
Hey @humbertoc-silva you can find the justification for that change in this issue. At a high level one thought here was that the user deploying OPA has more info about the local env and hence it makes sense that they can override the service config. Now I understand one aspect of discovery is the central management. So to give more visibility into the overrides we surface them via the Status API so that the central team gets the required info. Also previously in some cases the bootstrap would override the service config and vice-versa in the some cases. So the behavior was not easy to understand and now it's always bootstrap overrides. In the future, we can have different strategies but for now this one seemed clear. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
I am reading the OPA release notes to be updated with the latest improvements and seeing some cool stuff, but one break change (v0.64.0) caught my attention, now the bootstrap configuration can override the discovered configuration. In my opinion, the previous behavior was the chance to apply effective governance throughout the OPA instances spread on the environment because it was not possible to override critical things like bundles, discovery, and status that an administrator decided centrally. Now the teams can override configurations. Maybe the OPA Control Plane needs to be updated with the latest OPA configuration options, but this can be hard too.
I understand that in some cases this could be helpful, mainly when the people operating OPA on the edge are responsible and aligned with security concerns, but this is not always true. Now we might have problems related to OPA governance with this relaxation.
Let me know if I understand correctly the last break change, and if makes sense to think about a solution that can help both sides (dev teams and admins).
Beta Was this translation helpful? Give feedback.
All reactions