cloud-run-samples
cloud-run-samples copied to clipboard
Open Policy Agent Example
This is supporting material for how to create a cloud run instance where routes are authorized by Open Policy Agent.
Note: this solution includes building a custom docker container, and so part of the CI steps is using an Artifact Registry repository called docker
in us-central1
Permissions required on the cloud build service account:
- Cloud Run Admin
- roles/artifactregistry.createOnPushRepoAdmin
Feedback most welcome!
/gcbrun
/gcbrun
Hi @lawrenae! Just a friendly ping - happy to chat more about the sample.
/gcbrun