You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove external dependency on github.com/tektoncd/hub and integrate
the Hub CLI commands directly into the tektoncd/cli codebase. This
eliminates the need for the openshift-pipelines/hub fork replacement
and simplifies the dependency management.
BREAKING CHANGE: Hub commands now default to --type=artifact instead
of --type=tekton. Users relying on Tekton Hub resources must now
explicitly specify --type=tekton when using hub search, get, or
install commands.
Signed-off-by: divyansh42 <diagrawa@redhat.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
When using '--type tekton', a deprecation warning will now be displayed.
30
+
Artifact Hub (https://artifacthub.io) will become the only supported hub in future releases.
14
31
15
32
### Options
16
33
17
34
```
18
-
--api-server string Hub API Server URL (default 'https://api.hub.tekton.dev' for 'tekton' type; default 'https://artifacthub.io' for 'artifact' type).
19
-
URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'TEKTON_HUB_API_SERVER'/'ARTIFACT_HUB_API_SERVER'.
35
+
--api-server string Hub API Server URL.
36
+
For artifact type: default 'https://artifacthub.io' (env: ARTIFACT_HUB_API_SERVER)
37
+
For tekton type (DEPRECATED): default 'https://api.hub.tekton.dev' (env: TEKTON_HUB_API_SERVER)
38
+
Can also be set in '$HOME/.tekton/hub-config'.
20
39
-h, --help help for hub
21
-
--type string The type of Hub from where to pull the resource. Either 'artifact' or 'tekton' (default "tekton")
40
+
--type string The type of Hub from where to pull the resource. Either 'artifact' or 'tekton' (DEPRECATED: tekton type will be removed in a future release) (default "artifact")
22
41
```
23
42
24
43
### SEE ALSO
25
44
26
45
*[tkn](tkn.md) - CLI for tekton pipelines
27
-
*[tkn hub check-upgrade](tkn_hub_check-upgrade.md) - Check for upgrades of resources if present
28
-
*[tkn hub downgrade](tkn_hub_downgrade.md) - Downgrade an installed resource
29
-
*[tkn hub get](tkn_hub_get.md) - Get resource manifest by its name, kind, catalog, and version
30
-
*[tkn hub info](tkn_hub_info.md) - Display info of resource by its name, kind, catalog, and version
31
46
*[tkn hub install](tkn_hub_install.md) - Install a resource from a catalog by its kind, name and version
32
-
*[tkn hub reinstall](tkn_hub_reinstall.md) - Reinstall a resource by its kind and name
33
-
*[tkn hub search](tkn_hub_search.md) - Search resource by a combination of name, kind, categories, platforms, and tags
34
-
*[tkn hub upgrade](tkn_hub_upgrade.md) - Upgrade an installed resource
Copy file name to clipboardExpand all lines: docs/cmd/tkn_hub_install.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,15 @@ Install a resource from a catalog by its kind, name and version
26
26
### Options inherited from parent commands
27
27
28
28
```
29
-
--api-server string Hub API Server URL (default 'https://api.hub.tekton.dev' for 'tekton' type; default 'https://artifacthub.io' for 'artifact' type).
30
-
URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'TEKTON_HUB_API_SERVER'/'ARTIFACT_HUB_API_SERVER'.
31
-
--type string The type of Hub from where to pull the resource. Either 'artifact' or 'tekton' (default "tekton")
29
+
--api-server string Hub API Server URL.
30
+
For artifact type: default 'https://artifacthub.io' (env: ARTIFACT_HUB_API_SERVER)
31
+
For tekton type (DEPRECATED): default 'https://api.hub.tekton.dev' (env: TEKTON_HUB_API_SERVER)
32
+
Can also be set in '$HOME/.tekton/hub-config'.
33
+
--type string The type of Hub from where to pull the resource. Either 'artifact' or 'tekton' (DEPRECATED: tekton type will be removed in a future release) (default "artifact")
32
34
```
33
35
34
36
### SEE ALSO
35
37
36
-
*[tkn hub](tkn_hub.md) - Interact with tekton hub
38
+
*[tkn hub](tkn_hub.md) - Interact with artifacthub
37
39
*[tkn hub install task](tkn_hub_install_task.md) - Install Task from a catalog by its name and version
-n, --namespace string Namespace to use (default: from $KUBECONFIG)
47
-
--type string The type of Hub from where to pull the resource. Either 'artifact' or 'tekton' (default "tekton")
49
+
--type string The type of Hub from where to pull the resource. Either 'artifact' or 'tekton' (DEPRECATED: tekton type will be removed in a future release) (default "artifact")
0 commit comments