How to pull OCI Bundles from Google Artifact Registry? #630
-
I am trying to figure out how to have an OPA server deployed in GKE (Kubernetes) fetch artefacts from the Google Artifact Registry. I don't know what is required. Conftest and Oras use the docker credential configuration, which in turn relies on the docker-credential-helper GCP provides. That being said, the OPA server seems to have a different approach using I see an example for AWS ECR, but nothing for GCP
I looked into the https://www.openpolicyagent.org/docs/latest/management-bundles/#gcp-metadata-token-authentication-1 I am hoping someone had done it previously or had some guidance on how that might work. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I ended up finding the trick, you need to specify scopes for this to work
|
Beta Was this translation helpful? Give feedback.
I ended up finding the trick, you need to specify scopes for this to work