Skip to content

Commit b10efca

Browse files
rdimitrovclaude
andcommitted
Use upstream registry format in all examples
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e258413 commit b10efca

4 files changed

Lines changed: 33 additions & 33 deletions

File tree

docs/toolhive/guides-registry/authorization.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ on each CRD. Managed source entries get claims from the publish request payload.
140140
```yaml title="config-source-claims.yaml"
141141
sources:
142142
- name: platform-tools
143-
format: toolhive
143+
format: upstream
144144
git:
145145
repository: https://github.com/acme/platform-tools.git
146146
branch: main
@@ -154,7 +154,7 @@ sources:
154154
# highlight-end
155155
156156
- name: data-tools
157-
format: toolhive
157+
format: upstream
158158
git:
159159
repository: https://github.com/acme/data-tools.git
160160
branch: main
@@ -336,7 +336,7 @@ This example shows a multi-team setup with full RBAC and claims-based scoping:
336336
```yaml title="config-multi-tenant.yaml"
337337
sources:
338338
- name: platform-tools
339-
format: toolhive
339+
format: upstream
340340
git:
341341
repository: https://github.com/acme/platform-tools.git
342342
branch: main
@@ -348,7 +348,7 @@ sources:
348348
team: 'platform'
349349
350350
- name: data-tools
351-
format: toolhive
351+
format: upstream
352352
git:
353353
repository: https://github.com/acme/data-tools.git
354354
branch: main

docs/toolhive/guides-registry/configuration.mdx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ sources).
1818
# Sources define where registry data comes from
1919
sources:
2020
- name: toolhive
21-
format: toolhive
21+
format: upstream
2222
git:
2323
repository: https://github.com/stacklok/toolhive-catalog.git
2424
branch: main
25-
path: pkg/catalog/toolhive/data/registry-legacy.json
25+
path: pkg/catalog/toolhive/data/registry-upstream.json
2626
syncPolicy:
2727
interval: '30m'
2828
# Optional: filter which entries are synced
@@ -129,11 +129,11 @@ on every container restart, adding startup latency and increasing network usage.
129129
```yaml title="config-git.yaml"
130130
sources:
131131
- name: toolhive
132-
format: toolhive
132+
format: upstream
133133
git:
134134
repository: https://github.com/stacklok/toolhive-catalog.git
135135
branch: main
136-
path: pkg/catalog/toolhive/data/registry-legacy.json
136+
path: pkg/catalog/toolhive/data/registry-upstream.json
137137
syncPolicy:
138138
interval: '30m'
139139

@@ -169,7 +169,7 @@ credentials:
169169
```yaml title="config-git-private.yaml"
170170
sources:
171171
- name: private-registry
172-
format: toolhive
172+
format: upstream
173173
git:
174174
repository: https://github.com/my-org/private-registry.git
175175
branch: main
@@ -378,7 +378,7 @@ RBAC requirements.
378378
```yaml title="config-kubernetes.yaml"
379379
sources:
380380
- name: default
381-
format: toolhive
381+
format: upstream
382382
kubernetes: {}
383383
384384
registries:
@@ -523,11 +523,11 @@ Kubernetes sources.
523523
```yaml
524524
sources:
525525
- name: toolhive
526-
format: toolhive
526+
format: upstream
527527
git:
528528
repository: https://github.com/stacklok/toolhive-catalog.git
529529
branch: main
530-
path: pkg/catalog/toolhive/data/registry-legacy.json
530+
path: pkg/catalog/toolhive/data/registry-upstream.json
531531
syncPolicy:
532532
# Sync interval (e.g., "30m", "1h", "24h")
533533
interval: '30m'
@@ -557,11 +557,11 @@ name patterns.
557557
```yaml
558558
sources:
559559
- name: toolhive
560-
format: toolhive
560+
format: upstream
561561
git:
562562
repository: https://github.com/stacklok/toolhive-catalog.git
563563
branch: main
564-
path: pkg/catalog/toolhive/data/registry-legacy.json
564+
path: pkg/catalog/toolhive/data/registry-upstream.json
565565
syncPolicy:
566566
interval: '30m'
567567
filter:
@@ -596,11 +596,11 @@ controls.
596596
```yaml title="config-multi-source.yaml"
597597
sources:
598598
- name: toolhive-catalog
599-
format: toolhive
599+
format: upstream
600600
git:
601601
repository: https://github.com/stacklok/toolhive-catalog.git
602602
branch: main
603-
path: pkg/catalog/toolhive/data/registry-legacy.json
603+
path: pkg/catalog/toolhive/data/registry-upstream.json
604604
syncPolicy:
605605
interval: '30m'
606606

docs/toolhive/guides-registry/deploy-manual.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,11 @@ data:
116116
config.yaml: |
117117
sources:
118118
- name: toolhive
119-
format: toolhive
119+
format: upstream
120120
git:
121121
repository: https://github.com/stacklok/toolhive-catalog.git
122122
branch: main
123-
path: pkg/catalog/toolhive/data/registry-legacy.json
123+
path: pkg/catalog/toolhive/data/registry-upstream.json
124124
syncPolicy:
125125
interval: "15m"
126126
registries:

docs/toolhive/guides-registry/deploy-operator.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ spec:
8080
configYAML: |
8181
sources:
8282
- name: toolhive
83-
format: toolhive
83+
format: upstream
8484
git:
8585
repository: https://github.com/stacklok/toolhive-catalog.git
8686
branch: main
87-
path: pkg/catalog/toolhive/data/registry-legacy.json
87+
path: pkg/catalog/toolhive/data/registry-upstream.json
8888
syncPolicy:
8989
interval: '30m'
9090
registries:
@@ -125,7 +125,7 @@ and each registry references sources by name.
125125
configYAML: |
126126
sources:
127127
- name: my-source
128-
format: toolhive
128+
format: upstream
129129
git: { ... }
130130
registries:
131131
- name: default
@@ -147,11 +147,11 @@ spec:
147147
configYAML: |
148148
sources:
149149
- name: toolhive
150-
format: toolhive
150+
format: upstream
151151
git:
152152
repository: https://github.com/stacklok/toolhive-catalog.git
153153
branch: main
154-
path: pkg/catalog/toolhive/data/registry-legacy.json
154+
path: pkg/catalog/toolhive/data/registry-upstream.json
155155
syncPolicy:
156156
interval: '30m'
157157
registries:
@@ -315,11 +315,11 @@ spec:
315315
configYAML: |
316316
sources:
317317
- name: toolhive
318-
format: toolhive
318+
format: upstream
319319
git:
320320
repository: https://github.com/stacklok/toolhive-catalog.git
321321
branch: main
322-
path: pkg/catalog/toolhive/data/registry-legacy.json
322+
path: pkg/catalog/toolhive/data/registry-upstream.json
323323
filter:
324324
names:
325325
include:
@@ -368,11 +368,11 @@ spec:
368368
configYAML: |
369369
sources:
370370
- name: toolhive
371-
format: toolhive
371+
format: upstream
372372
git:
373373
repository: https://github.com/stacklok/toolhive-catalog.git
374374
branch: main
375-
path: pkg/catalog/toolhive/data/registry-legacy.json
375+
path: pkg/catalog/toolhive/data/registry-upstream.json
376376
syncPolicy:
377377
interval: '30m'
378378
registries:
@@ -450,11 +450,11 @@ spec:
450450
configYAML: |
451451
sources:
452452
- name: toolhive
453-
format: toolhive
453+
format: upstream
454454
git:
455455
repository: https://github.com/stacklok/toolhive-catalog.git
456456
branch: main
457-
path: pkg/catalog/toolhive/data/registry-legacy.json
457+
path: pkg/catalog/toolhive/data/registry-upstream.json
458458
syncPolicy:
459459
interval: '30m'
460460
registries:
@@ -592,11 +592,11 @@ spec:
592592
configYAML: |
593593
sources:
594594
- name: toolhive
595-
format: toolhive
595+
format: upstream
596596
git:
597597
repository: https://github.com/stacklok/toolhive-catalog.git
598598
branch: main
599-
path: pkg/catalog/toolhive/data/registry-legacy.json
599+
path: pkg/catalog/toolhive/data/registry-upstream.json
600600
syncPolicy:
601601
interval: '30m'
602602
registries:
@@ -643,11 +643,11 @@ spec:
643643
configYAML: |
644644
sources:
645645
- name: toolhive
646-
format: toolhive
646+
format: upstream
647647
git:
648648
repository: https://github.com/stacklok/toolhive-catalog.git
649649
branch: main
650-
path: pkg/catalog/toolhive/data/registry-legacy.json
650+
path: pkg/catalog/toolhive/data/registry-upstream.json
651651
syncPolicy:
652652
interval: '30m'
653653
registries:

0 commit comments

Comments
 (0)