Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-2147

tkn clustertask does not support pac sub command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • Pipelines 1.7
    • Pipelines 1.7
    • Operator
    • None
    • False
    • None
    • False

      tkn clustertask does not support pac sub command

      Steps to Reproduce:

      1. Install pre-stage build of Openshift Pipelines 1.7
      2. Run the clustertask tkn using the command tkn ct start tkn {}use-param-defaults p 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.
       

       

       

            concaf Shubham Minglani
            varadhya Veeresh Aradhya
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: