Install Task from a catalog by its name and version
tkn hub install task
Install Task from a catalog by its name and version
Install a Task of name 'foo':
tkn hub install task foo
or
Install a Task of name 'foo' of version '0.3' from Catalog 'Tekton':
tkn hub install task foo --version 0.3 --from tekton
-h, --help help for task
--api-server string Hub API Server URL (default 'https://api.hub.tekton.dev').
URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'HUB_API_SERVER'.
-c, --context string Name of the kubeconfig context to use (default: kubectl config current-context)
--from string Name of Catalog to which resource belongs. (default "tekton")
-k, --kubeconfig string Kubectl config file (default: $HOME/.kube/config)
-n, --namespace string Namespace to use (default: from $KUBECONFIG)
--version string Version of Resource
- tkn hub install - Install a resource from a catalog by its kind, name and version