Skip to content

DODAS-TS/opa-bundles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Code of conduct

Stars

Watchers

Forks

Packages

No packages published