Skip to content

Commit

Permalink
Merge pull request #37 from aserto-dev/fix_opa_creds
Browse files Browse the repository at this point in the history
Use credentials for opa config
  • Loading branch information
florindragos authored Nov 22, 2022
2 parents a68af6a + 1252cb0 commit f44159c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/cli/cmd/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ opa:
url: https://opcr.io/v2/
type: "oci"
response_header_timeout_seconds: 5
headers:
Authorization: "basic iDog"
credentials:
bearer:
token: "iDog"
scheme: "basic"
bundles:
{{ .PolicyName }}:
service: opcr
Expand Down

0 comments on commit f44159c

Please sign in to comment.