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

[Results CLI] Automatic detection of route should not list services from all namespaces

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • [CLI] Extend interactive prompt support for manual host configuration and simplify route discovery using URL construction without requiring API permissions
    • Enhancement
    • Pipelines Sprint Crookshank 32, Pipelines Sprint Crookshank 33, Pipelines Sprint Crookshank 34, Pipelines Sprint Crookshank 35

      Description of problem:

      Users with non-admin not able to auto configure the CLI configuration as it is trying to list the services from all the namespaces and non-admin user will not have access to the same.

      Workaround

      Try manual configuration 

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

      Steps to Reproduce

      •  Install the results CLI
      • Make sure you don't have admin rights in the cluster
      • Run `tkn results config set` command

       

      Actual results:

      This results in an error:
      Error: failed to get host: services is forbidden: User "dhaiduce" cannot list resource "services" in API group "" at the cluster scope

      Expected results:

      Able to get the host if RBAC is setup at the cluster level so that non-admin users can also get the route

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

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

       

       *

        1. image-2025-09-15-14-50-00-877.png
          33 kB
          Sai Raju Manthina
        2. image-2025-09-15-15-00-21-274.png
          171 kB
          Sai Raju Manthina

              diagrawa Divyanshu Agrawal
              diagrawa Divyanshu Agrawal
              Sai Raju Manthina Sai Raju Manthina
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: