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

Adds List CLI command to list the approval task

XMLWordPrintable

    • Pipelines Sprint Pioneers 2, Pipelines Sprint Pioneers 3, Pipelines Sprint Pioneers 4, Pipelines Sprint Pioneers 5, Pipelines Sprint Pioneers 6

      List Approval Task 

      • List all the approval task in the default namespace
        • If flag provided the list the approval task in that particular namespace
          • Flags 
            • -A, –all-namespace → To list approvaltask from all namespaces
          • Global Flags
            • –kubeconfig  → kubectl config file
            • –namespace  → namespace to use
      • UX 

       

      tkn approvaltask list
      tkn at ls
      

       

      Output

      NAME  ApprovalRequired  PendingApproval      STATUS
      foo        3            2                    Pending
      bar        4            3                    Approved
      

       

              ppunamiy Puneet Punamiya
              ppunamiy Puneet Punamiya
              Rupali Behera Rupali Behera
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: