Check updates for Task installed via Hub CLI
tkn hub check-upgrade task
Check updates for Task installed via Hub CLI
Check for Upgrades of Task installed via Tekton Hub CLI:
tkn hub check-upgrade task
The above command will check for upgrades of Tasks installed via Tekton Hub CLI and will skip the Tasks which are not installed by Tekton Hub CLI.
NOTE: If Pipelines version is unknown it will show the latest version available else it will show latest compatible version.
-h, --help help for task
--api-server string Hub API Server URL (default 'https://api.hub.tekton.dev' for 'tekton' type; default 'https://artifacthub.io' for 'artifact' type).
URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'TEKTON_HUB_API_SERVER'/'ARTIFACT_HUB_API_SERVER'.
-c, --context string Name of the kubeconfig context to use (default: kubectl config current-context)
-k, --kubeconfig string Kubectl config file (default: $HOME/.kube/config)
-n, --namespace string Namespace to use (default: from $KUBECONFIG)
--type string The type of Hub from where to pull the resource. Either 'artifact' or 'tekton' (default "tekton")
- tkn hub check-upgrade - Check for upgrades of resources if present