Skip to content

Does Opal replaces OPA Bundles? #37

Answered by asafc
yuval-k asked this question in Q&A
Apr 13, 2021 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @yuval-k :) what a great question!

This is the way it works now with policy updates:

  1. OPAL server monitors a repository, and specifically all the .rego /data.json files (which are opa bundle compliant)
  2. When OPAL server detects commits that affect such files, it sends an update notification via pub/sub to the OPAL client that is subscribed to the relevant directories in the source code repository (the update also includes the commit hash of the top commit).
  • By default opal clients subscribe to the entire directory, but this can be changed via configuration variable.
  • The thinking is that you can have a separate "bundle" directories per tenant, installation, etc.
  1. OPAL client checks th…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@yuval-k
Comment options

@yuval-k
Comment options

Answer selected by yuval-k
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants