Skip to content

Commit 82e8d29

Browse files
committed
chore: update docs
1 parent 7f0f36c commit 82e8d29

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ tonic-health = "0.11.0"
5050
tonic-reflection = "0.11.0"
5151
tonic-web = "0.11.0"
5252
tokio = { version = "1.37.0", features = ["full"] }
53-
tower = "0.4.13"
53+
tower = { version = "0.4.13", feature = ["limit"] }
5454
tokio-retry = "0.3"
5555
tower-http = { version = "=0.4.4", features = ["trace", "validate-request"] }
5656
tracing = "0.1.39"

charts/feedback-fusion/values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ feedbackFusion:
120120
config:
121121
secret: feedback-fusion-config
122122
# RUST_LOG: INFO
123-
# GLOBAL_RATE_LIMIT: 10
124123
# OIDC_AUDIENCE: ""
125124
# OIDC_PROVIDER: ""
126125
#

docs/docs/configuration.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ You can set the following environment variables:
66

77
| Environment Variable | Type | Default Value | Description |
88
|-------------------------|-------------------|----------------------------|-----------------------------------------------------------------------------|
9-
| `GLOBAL_RATE_LIMIT` | `u64` | `10` | The global rate limit for requests. |
109
| `OIDC_PROVIDER` | `String` | N/A | The OIDC provider URL. |
1110
| `OIDC_AUDIENCE` | `String` | `"feedback-fusion"` | The audience for the OIDC tokens. |
1211
| `OIDC_ISSUER` | `Option<String>` | `None` | The optional issuer URL for the OIDC tokens. |
@@ -15,6 +14,21 @@ You can set the following environment variables:
1514
| `OTLP_ENDPOINT` | `Option<String>` | `None` | The gRPC OTLP endpoint to send the trace spans to |
1615
| `SERVICE_NAME` | `String` | `"feedback-fusion"` | Service name used in tracing context |
1716

17+
## Scope Configuration
18+
19+
| Environment Variable | Description |
20+
|-----------------------------------|------------------------------------|
21+
| `OIDC_SCOPE_API` | Scope for API access |
22+
| `OIDC_SCOPE_WRITE` | Scope for write access |
23+
| `OIDC_SCOPE_READ` | Scope for read access |
24+
| `OIDC_SCOPE_WRITE_TARGET` | Scope for writing targets |
25+
| `OIDC_SCOPE_READ_TARGET` | Scope for reading targets |
26+
| `OIDC_SCOPE_WRITE_PROMPT` | Scope for writing prompts |
27+
| `OIDC_SCOPE_READ_PROMPT` | Scope for reading prompts |
28+
| `OIDC_SCOPE_WRITE_FIELD` | Scope for writing fields |
29+
| `OIDC_SCOPE_READ_FIELD` | Scope for reading fields |
30+
| `OIDC_SCOPE_READ_RESPONSE` | Scope for reading responses |
31+
1832
## Database Configuration
1933

2034
The Backend supports mutliple database backends. The backend will choose the database based on your provided configuration values.

src/config.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ config!(
7070
),
7171

7272
(
73-
global_rate_limit: u64 = 10,
7473
service_name: String = "feedback-fusion"
7574
oidc_audience: String = "feedback-fusion",
7675

0 commit comments

Comments
 (0)