Skip to content

How to push policy bundle to OPA #320

Discussion options

You must be logged in to vote

Hi @dushyant7917 👋

While I'm not sure this is what is being referenced in that page of the docs, it is possible to use HTTP long polling to get faster policy updates to an OPA instance.

This functionality is documented here: https://www.openpolicyagent.org/docs/latest/management-bundles/#http-long-polling. Note however that this requires the bundle service to support the feature (via sending the application/vnd.openpolicyagent.bundles Content Type header).

Note I want to push/replace/override a complete policy bundle

This would support this too.

Does that sound like something that could work for you?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@dushyant7917
Comment options

@anderseknert
Comment options

@dushyant7917
Comment options

@anderseknert
Comment options

Answer selected by philipaconrad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants