Skip to content

Commit 6ffe57e

Browse files
Update ToolHive reference docs for toolhive-operator-crds-0.0.27
1 parent f2a5126 commit 6ffe57e

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

static/api-specs/toolhive-crd-api.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,26 @@ _Appears in:_
120120
| `value` _string_ | Value of the environment variable | | Required: \{\} <br /> |
121121

122122

123+
#### GitSource
124+
125+
126+
127+
GitSource defines Git repository source configuration
128+
129+
130+
131+
_Appears in:_
132+
- [MCPRegistrySource](#mcpregistrysource)
133+
134+
| Field | Description | Default | Validation |
135+
| --- | --- | --- | --- |
136+
| `repository` _string_ | Repository is the Git repository URL (HTTP/HTTPS/SSH) | | MinLength: 1 <br />Pattern: `^(https?://\|git@\|ssh://\|git://).*` <br />Required: \{\} <br /> |
137+
| `branch` _string_ | Branch is the Git branch to use (mutually exclusive with Tag and Commit) | | MinLength: 1 <br /> |
138+
| `tag` _string_ | Tag is the Git tag to use (mutually exclusive with Branch and Commit) | | MinLength: 1 <br /> |
139+
| `commit` _string_ | Commit is the Git commit SHA to use (mutually exclusive with Branch and Tag) | | MinLength: 1 <br /> |
140+
| `path` _string_ | Path is the path to the registry file within the repository | registry.json | Pattern: `^.*\.json$` <br /> |
141+
142+
123143
#### InlineAuthzConfig
124144

125145

@@ -260,9 +280,10 @@ _Appears in:_
260280

261281
| Field | Description | Default | Validation |
262282
| --- | --- | --- | --- |
263-
| `type` _string_ | Type is the type of source (configmap) | configmap | Enum: [configmap] <br /> |
283+
| `type` _string_ | Type is the type of source (configmap, git) | configmap | Enum: [configmap git] <br /> |
264284
| `format` _string_ | Format is the data format (toolhive, upstream) | toolhive | Enum: [toolhive upstream] <br /> |
265285
| `configmap` _[ConfigMapSource](#configmapsource)_ | ConfigMap defines the ConfigMap source configuration<br />Only used when Type is "configmap" | | |
286+
| `git` _[GitSource](#gitsource)_ | Git defines the Git repository source configuration<br />Only used when Type is "git" | | |
266287

267288

268289
#### MCPRegistrySpec

0 commit comments

Comments
 (0)