sincecutoff.com
← all changes

tkn hub defaults to Artifact Hub

Introduced 2026-08-05 · score 0.93

HOW TO USE IT

When installing a Task from Artifact Hub, run `tkn hub install task` with its name, catalog, and version; Artifact Hub is the default hub type. Use `--type=tekton` only for Tekton Hub resources; that type is deprecated and emits a warning.

tkn hub install task <task-name> --type artifact --from <catalog> --version <version>
tkn hub install task <task-name> --version <version> --from <catalog> --type tekton

WHY THIS HELPS

Install a task from Artifact Hub into a Tekton pipeline workflow.

BEFORE THIS CHANGE

The `--type` default was `tekton`; users relying on Tekton Hub resources could omit the flag for those commands.

REQUIREMENTS AND LIMITATIONS

  • Version: v0.46.0
  • task-name (required): Name of the Task to install.
  • --from (required): Catalog to which the resource belongs.
  • --version: Version of the resource; the documented Artifact Hub example specifies it, and Artifact Hub resources follow full SemVer.
  • --type: Hub type: `artifact` or `tekton`; defaults to `artifact`. `tekton` is deprecated and displays a warning.
  • --api-server: Hub API server URL; defaults to `https://artifacthub.io` for Artifact Hub and `https://api.hub.tekton.dev` for deprecated Tekton Hub. Can be set by `ARTIFACT_HUB_API_SERVER`, `TEKTON_HUB_API_SERVER`, or `$HOME/.tekton/hub-config`.
  • --context: Kubeconfig context; defaults to the current kubectl context.
  • --kubeconfig: Kubectl config file; defaults to `$HOME/.kube/config`.
  • --namespace: Namespace to use; defaults from `KUBECONFIG`.
  • The following commands currently only work with Tekton Hub and may support Artifact Hub in a future release: check-upgrade, downgrade, get, info, reinstall, search, upgrade.
  • When using `--type tekton`, a deprecation warning is displayed.
  • Tekton Hub type is deprecated and will be removed in a future release.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card