Skip to content

Commit 22a02cd

Browse files
yroblataskbot
andauthored
add missing gaps in k8s virtualmcpserver crd (#2409)
Co-authored-by: taskbot <taskbot@users.noreply.github.com>
1 parent a10f194 commit 22a02cd

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

docs/operator/virtualmcpserver-api.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,27 @@ spec:
113113
headerFormat: "Bearer {token}"
114114
```
115115

116+
**Example (mixed mode)**:
117+
```yaml
118+
spec:
119+
outgoingAuth:
120+
source: mixed
121+
default:
122+
type: pass_through
123+
backends:
124+
# Override specific backends while others use discovery
125+
slack:
126+
type: service_account
127+
serviceAccount:
128+
credentialsRef:
129+
name: slack-bot-override
130+
key: token
131+
headerName: Authorization
132+
headerFormat: "Bearer {token}"
133+
# Other backends (github, jira, etc.) will automatically
134+
# discover auth config from their MCPServer.spec.externalAuthConfigRef
135+
```
136+
116137
#### BackendAuthConfig
117138

118139
**Fields**:
@@ -162,6 +183,28 @@ spec:
162183
priorityOrder: ["github", "jira", "slack"]
163184
```
164185

186+
**Example (manual strategy)**:
187+
```yaml
188+
spec:
189+
aggregation:
190+
conflictResolution: manual
191+
tools:
192+
- workload: github
193+
filter: ["create_pr", "merge_pr", "list_repos"]
194+
overrides:
195+
create_pr:
196+
name: github_create_pr
197+
description: "Create a pull request in GitHub"
198+
- workload: jira
199+
filter: ["create_issue", "update_issue"]
200+
overrides:
201+
create_issue:
202+
name: jira_create_issue
203+
description: "Create an issue in Jira"
204+
# All tool name conflicts must be explicitly resolved via overrides
205+
# Runtime validation ensures no unresolved conflicts exist
206+
```
207+
165208
#### WorkloadToolConfig
166209

167210
**Fields**:

0 commit comments

Comments
 (0)