forked from tektoncd/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump Hub dependency with latest updates
This update - improves install, reinstall, upgrade, downgrade command to check if resource is compatible with the pipelines version installed for users with access to pipelines version otherwise will give a warning. - adds a new command `check-upgrade` to check if newer version of task is available. - minor improvements in existing commands Signed-off-by: Shivam Mukhade <[email protected]>
- Loading branch information
1 parent
bd86190
commit a97fa80
Showing
467 changed files
with
19,651 additions
and
5,060 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
## tkn hub check-upgrade | ||
|
||
Check for upgrades of resources if present | ||
|
||
### Usage | ||
|
||
``` | ||
tkn hub check-upgrade | ||
``` | ||
|
||
### Synopsis | ||
|
||
Check for upgrades of resources if present | ||
|
||
### Options | ||
|
||
``` | ||
-c, --context string Name of the kubeconfig context to use (default: kubectl config current-context) | ||
-h, --help help for check-upgrade | ||
-k, --kubeconfig string Kubectl config file (default: $HOME/.kube/config) | ||
-n, --namespace string Namespace to use (default: from $KUBECONFIG) | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev") | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [tkn hub](tkn_hub.md) - Interact with tekton hub | ||
* [tkn hub check-upgrade task](tkn_hub_check-upgrade_task.md) - Check updates for Task installed via Hub CLI | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
## tkn hub check-upgrade task | ||
|
||
Check updates for Task installed via Hub CLI | ||
|
||
### Usage | ||
|
||
``` | ||
tkn hub check-upgrade task | ||
``` | ||
|
||
### Synopsis | ||
|
||
Check updates for Task installed via Hub CLI | ||
|
||
### Examples | ||
|
||
|
||
Check for Upgrades of Task installed via Tekton Hub CLI: | ||
|
||
tkn hub check-upgrades 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. | ||
|
||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for task | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev") | ||
-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) | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [tkn hub check-upgrade](tkn_hub_check-upgrade.md) - Check for upgrades of resources if present | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
.TH "TKN\-HUB\-CHECK-UPGRADE\-TASK" "1" "" "Auto generated by spf13/cobra" "" | ||
.nh | ||
.ad l | ||
|
||
|
||
.SH NAME | ||
.PP | ||
tkn\-hub\-check\-upgrade\-task \- Check updates for Task installed via Hub CLI | ||
|
||
|
||
.SH SYNOPSIS | ||
.PP | ||
\fBtkn hub check\-upgrade task\fP | ||
|
||
|
||
.SH DESCRIPTION | ||
.PP | ||
Check updates for Task installed via Hub CLI | ||
|
||
|
||
.SH OPTIONS | ||
.PP | ||
\fB\-h\fP, \fB\-\-help\fP[=false] | ||
help for task | ||
|
||
|
||
.SH OPTIONS INHERITED FROM PARENT COMMANDS | ||
.PP | ||
\fB\-\-api\-server\fP=" | ||
\[la]https://api.hub.tekton.dev"\[ra] | ||
Hub API Server URL | ||
|
||
.PP | ||
\fB\-c\fP, \fB\-\-context\fP="" | ||
Name of the kubeconfig context to use (default: kubectl config current\-context) | ||
|
||
.PP | ||
\fB\-k\fP, \fB\-\-kubeconfig\fP="" | ||
Kubectl config file (default: $HOME/.kube/config) | ||
|
||
.PP | ||
\fB\-n\fP, \fB\-\-namespace\fP="" | ||
Namespace to use (default: from $KUBECONFIG) | ||
|
||
|
||
.SH EXAMPLE | ||
.PP | ||
Check for Upgrades of Task installed via Tekton Hub CLI: | ||
|
||
.PP | ||
.RS | ||
|
||
.nf | ||
tkn hub check\-upgrades task | ||
|
||
.fi | ||
.RE | ||
|
||
.PP | ||
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. | ||
|
||
.PP | ||
NOTE: If Pipelines version is unknown it will show the latest version available | ||
else it will show latest compatible version. | ||
|
||
|
||
.SH SEE ALSO | ||
.PP | ||
\fBtkn\-hub\-check\-upgrade(1)\fP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
.TH "TKN\-HUB\-CHECK-UPGRADE" "1" "" "Auto generated by spf13/cobra" "" | ||
.nh | ||
.ad l | ||
|
||
|
||
.SH NAME | ||
.PP | ||
tkn\-hub\-check\-upgrade \- Check for upgrades of resources if present | ||
|
||
|
||
.SH SYNOPSIS | ||
.PP | ||
\fBtkn hub check\-upgrade\fP | ||
|
||
|
||
.SH DESCRIPTION | ||
.PP | ||
Check for upgrades of resources if present | ||
|
||
|
||
.SH OPTIONS | ||
.PP | ||
\fB\-c\fP, \fB\-\-context\fP="" | ||
Name of the kubeconfig context to use (default: kubectl config current\-context) | ||
|
||
.PP | ||
\fB\-h\fP, \fB\-\-help\fP[=false] | ||
help for check\-upgrade | ||
|
||
.PP | ||
\fB\-k\fP, \fB\-\-kubeconfig\fP="" | ||
Kubectl config file (default: $HOME/.kube/config) | ||
|
||
.PP | ||
\fB\-n\fP, \fB\-\-namespace\fP="" | ||
Namespace to use (default: from $KUBECONFIG) | ||
|
||
|
||
.SH OPTIONS INHERITED FROM PARENT COMMANDS | ||
.PP | ||
\fB\-\-api\-server\fP=" | ||
\[la]https://api.hub.tekton.dev"\[ra] | ||
Hub API Server URL | ||
|
||
|
||
.SH SEE ALSO | ||
.PP | ||
\fBtkn\-hub(1)\fP, \fBtkn\-hub\-check\-upgrade\-task(1)\fP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.