Skip to content

Commit 3d75dee

Browse files
authored
Remove tokenCache documentation and examples (#2801)
1 parent d543c84 commit 3d75dee

File tree

2 files changed

+0
-49
lines changed

2 files changed

+0
-49
lines changed

docs/operator/virtualmcpserver-api.md

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -249,40 +249,6 @@ spec:
249249
dependsOn: ["confirm_deploy"]
250250
```
251251

252-
### `.spec.tokenCache` (optional)
253-
254-
Configures token caching behavior.
255-
256-
**Type**: `TokenCacheConfig`
257-
258-
**Fields**:
259-
- `provider` (string, optional, default: "memory"): Cache provider type (`memory` or `redis`)
260-
- `memory` (MemoryCacheConfig, optional): In-memory cache configuration
261-
- `redis` (RedisCacheConfig, optional): Redis cache configuration
262-
263-
**Example (memory)**:
264-
```yaml
265-
spec:
266-
tokenCache:
267-
provider: memory
268-
memory:
269-
maxEntries: 1000
270-
ttlOffset: 5m
271-
```
272-
273-
**Example (redis)**:
274-
```yaml
275-
spec:
276-
tokenCache:
277-
provider: redis
278-
redis:
279-
address: redis:6379
280-
db: 0
281-
passwordRef:
282-
name: redis-secret
283-
key: password
284-
```
285-
286252
### `.spec.operational` (optional)
287253

288254
Defines operational settings like timeouts and health checks.
@@ -478,13 +444,6 @@ spec:
478444
description: "{{.steps.fetch_logs.output}}"
479445
dependsOn: ["fetch_logs"]
480446
481-
# Token caching
482-
tokenCache:
483-
provider: memory
484-
memory:
485-
maxEntries: 1000
486-
ttlOffset: 5m
487-
488447
# Operational settings
489448
operational:
490449
timeouts:

examples/vmcp-config.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,6 @@ outgoing_auth:
9191
# audience: "jira-api" # Token audience for Jira API
9292
# scopes: ["read:jira-work", "write:jira-work"]
9393

94-
# ===== TOKEN CACHING =====
95-
# Token cache configuration
96-
token_cache:
97-
provider: memory # Options: memory | redis | custom
98-
config:
99-
max_entries: 1000
100-
ttl_offset: "5m" # Refresh tokens 5 minutes before expiry
101-
10294
# ===== TOOL AGGREGATION =====
10395
aggregation:
10496
# Conflict resolution strategy

0 commit comments

Comments
 (0)