Skip to content

fanzago/opa-bundles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use the example bundle in OPA

Example of an OPA config.yaml:

services:
  - name: example-repo
    url: https://dodas-ts.github.io/opa-bundles/

bundles:
  authz:
    service: example-repo
    resource: example-bundle.tar.gz
    persist: true
    polling:
      min_delay_seconds: 10
      max_delay_seconds: 20

Then run OPA with:

opa run -s -c config.yaml

Github Actions automation

At each tag and push to main branch, a GH action is triggered and it automatically test and push the updated bundle on the Githubpages of this repo. From there it is then fetched by the opa server

To replicate the automatic tests manually you can alternatively use the Makefile provided.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Open Policy Agent 96.2%
  • Makefile 3.8%