Skip to content

Commit

Permalink
Update config docs based on review
Browse files Browse the repository at this point in the history
  • Loading branch information
carabasdaniel committed Apr 25, 2023
1 parent 25cb8d7 commit fa30590
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
10 changes: 4 additions & 6 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,10 @@ Topaz is able to communicate with a directory service based on the [pb-directory
Example:
```
directory_service:
edge:
db_path: /app/dbs/eds-acmecorp.db
seed_metadata: false
remote:
address: "localhost:12345"
insecure: true
address: "directory.prod.aserto.com:8443"
api_key: <Your Aserto Directory Access Key>
tenant_id: <Your Aserto Tenant ID>
```

### d. OPA
Expand All @@ -105,7 +103,7 @@ The OPA configuration section represent the [runtime configuration](https://gith
- *flags* - runtime.Flags - currently only the boolean *enable_status_plugin* is available. When set to true the runtime status is affected by the OPA status plugin
- *config* - runtime.OPAConfig - the details of the [OPA configuration](https://www.openpolicyagent.org/docs/latest/configuration/)

For more details regarding the OPA configuration see **examples folder**
For more details regarding the OPA configuration see [examples folder](/docs/examples/)

### e. JWT

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/config-private-ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ logging:

directory_service:
edge:
db_path: ./pkg/testing/assets/eds-citadel.db
db_path: ${TOPAZ_DIR}/db/directory.db
seed_metadata: false
remote:
address: "localhost:9292"
Expand Down
4 changes: 2 additions & 2 deletions docs/examples/config-remote-dir.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ logging:
directory_service:
remote:
address: "directory.prod.aserto.com:8443"
api_key: <your Aserto Directory access key>
tenant_id: <your Aserto tenant ID>
api_key: <Your Aserto Directory Access Key>
tenant_id: <Your Aserto Tenant ID>

api:
gateway:
Expand Down

0 comments on commit fa30590

Please sign in to comment.