-
Bug
-
Resolution: Done
-
Blocker
-
Pipelines 1.7
-
None
-
False
-
None
-
False
tkn clustertask does not support pac sub command
Steps to Reproduce:
- Install pre-stage build of Openshift Pipelines 1.7
- Run the clustertask tkn using the command tkn ct start tkn
{}use-param-defaultsp ARGS=pac,-help --showlog
Expected Output:
The taskrun should run successfully and should show the help for tkn pac sub command
Actual Output:
The taskun fails with below error
$ tkn ct start tkn --use-param-defaults -p ARGS=pac,--help --showlog ? Do you want to give specifications for the optional workspace `kubeconfig`: (y/N) N TaskRun started: tkn-run-k8zsj Waiting for logs to be available... [tkn] CLI for tekton pipelines [tkn] [tkn] Usage: [tkn] tkn [flags] [tkn] tkn [command] [tkn] [tkn] Available Commands: [tkn] bundle Manage Tekton Bundles [tkn] chain Manage Chains [tkn] clustertask Manage ClusterTasks [tkn] clustertriggerbinding Manage ClusterTriggerBindings [tkn] condition Manage Conditions [tkn] eventlistener Manage EventListeners [tkn] hub Interact with tekton hub [tkn] pipeline Manage pipelines [tkn] pipelinerun Manage PipelineRuns [tkn] resource Manage pipeline resources [tkn] task Manage Tasks [tkn] taskrun Manage TaskRuns [tkn] triggerbinding Manage TriggerBindings [tkn] triggertemplate Manage TriggerTemplates [tkn] [tkn] Other Commands: [tkn] completion Prints shell completion scripts [tkn] version Prints version information [tkn] [tkn] Flags: [tkn] -h, --help help for tkn [tkn] [tkn] Use "tkn [command] --help" for more information about a command.