@@ -94,9 +94,9 @@ Dependencies you need but should get from [lfx-v2-helm](https://github.com/linux
9494 # This assumes you have the lfx-platform chart running
9595 # from https://github.com/linuxfoundation/lfx-v2-helm/tree/main
9696 export NATS_URL=" nats://lfx-platform-nats.lfx.svc.cluster.local:4222"
97- export FGA_API_URL =" http://lfx-platform-openfga.lfx.svc.cluster.local:8080"
98- export FGA_STORE_ID =" 01K1GTJZW163H839J3YZHD8ZRY" # Use your actual store ID if you aren't using the lfx-platform chart
99- export FGA_MODEL_ID =" 01K1H4TFHDSBCZVZ5EP6HHDWE6" # Use your actual model ID if you aren't using the lfx-platform chart
97+ export OPENFGA_API_URL =" http://lfx-platform-openfga.lfx.svc.cluster.local:8080"
98+ export OPENFGA_STORE_ID =" 01K1GTJZW163H839J3YZHD8ZRY" # Use your actual store ID if you aren't using the lfx-platform chart
99+ export OPENFGA_AUTH_MODEL_ID =" 01K1H4TFHDSBCZVZ5EP6HHDWE6" # Use your actual model ID if you aren't using the lfx-platform chart
100100 export CACHE_BUCKET=" fga-sync-cache"
101101 export USE_CACHE=true
102102 export DEBUG=false
@@ -130,9 +130,9 @@ make docker-build
130130# Run the container
131131docker run -d \
132132 -e NATS_URL=nats://lfx-platform-nats.lfx.svc.cluster.local:4222 \
133- -e FGA_API_URL =http://lfx-platform-openfga.lfx.svc.cluster.local:8080 \
134- -e FGA_STORE_ID =01K1GTJZW163H839J3YZHD8ZRY \
135- -e FGA_MODEL_ID =01K1H4TFHDSBCZVZ5EP6HHDWE6 \
133+ -e OPENFGA_API_URL =http://lfx-platform-openfga.lfx.svc.cluster.local:8080 \
134+ -e OPENFGA_STORE_ID =01K1GTJZW163H839J3YZHD8ZRY \
135+ -e OPENFGA_AUTH_MODEL_ID =01K1H4TFHDSBCZVZ5EP6HHDWE6 \
136136 -e CACHE_BUCKET=fga-sync-cache \
137137 -p 8080:8080 \
138138 linuxfoundation/lfx-v2-fga-sync:latest
@@ -159,9 +159,9 @@ make helm-install
159159| Variable | Description | Default | Required |
160160| ----------| -------------| ---------| ----------|
161161| ` NATS_URL ` | NATS server connection URL | ` nats://localhost:4222 ` | Yes |
162- | ` FGA_API_URL ` | OpenFGA API endpoint | - | Yes |
163- | ` FGA_STORE_ID ` | OpenFGA store ID | - | Yes |
164- | ` FGA_MODEL_ID ` | OpenFGA authorization model ID | - | Yes |
162+ | ` OPENFGA_API_URL ` | OpenFGA API endpoint | - | Yes |
163+ | ` OPENFGA_STORE_ID ` | OpenFGA store ID | - | Yes |
164+ | ` OPENFGA_AUTH_MODEL_ID ` | OpenFGA authorization model ID | - | Yes |
165165| ` CACHE_BUCKET ` | JetStream KeyValue bucket name | ` fga-sync-cache ` | No |
166166| ` USE_CACHE ` | Whether to try to use cache for access checks | ` false ` | No |
167167| ` PORT ` | HTTP server port | ` 8080 ` | No |
0 commit comments