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

`tkn pac create repository` throws error for a regular (non-admin) user

    XMLWordPrintable

Details

    • Pipelines Sprint 241, Pipelines Sprint 243, Pipelines Sprint 244, Pipelines Sprint 245, Pipelines Sprint 246, Pipelines Sprint 247

    Description

      Description of problem:

      tkn pac create repository throws error for a regular (non-admin) user

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      • Login to a Openshift cluster as a regular user
      • Run tkn pac create repository

       

      Actual results:

      tkn pac create repository throws below error

      tkn pac create repository                                             
      ? Enter the Git repository url (default: https://github.com/VeereshAradhya/pac-412-public):  
      ? Please enter the namespace where the pipeline should run (default: user1-project): 
      ✓ Repository veeresharadhya-pac-412-public has been created in user1-project namespace
      Error: could not detect Pipelines as Code configmap on the cluster, please reinstall 

      Expected results:

      tkn pac create repository should not throw any error

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      tkn version && tkn pac version && oc get pac
      Client version: 0.31.0
      Chains version: v0.16.0
      Pipeline version: v0.47.1
      Triggers version: v0.24.0
      Operator version: v0.67.0
      0.19.0
      NAME                VERSION   READY   REASON
      pipelines-as-code   v0.19.1   True    
       

      Additional info (Such as Logs, Screenshots, etc):

      Note: This issue is present in the previous versions as well

       *

      Attachments

        Activity

          People

            piyushgarg001 Piyush Garg
            varadhya Veeresh Aradhya
            Savita . Savita .
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: