Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-15722

[Automation] [RBAC] e2e only authorized user can query managed cluster metrics data

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Observability
    • None
    • Observability Sprint 34, Observability Sprint 35
    • None

      https://polarion.engineering.redhat.com/polarion/#/project/RHACM4K/workitem?id=RHACM4K-1406

      • Create an oc user
      • Create a cluster-role binding
      • Add RBAC (fine-grained rbac is a seperate test) for access to the test spoke cluster
      • Fire a query to kube-rbac endpoint with the login token attached
      • Inspect results
      • (this should include two test cases, one for a valid cluster that is attached returning some data, one for cluster foo that should always return no data)

      Acceptance Criteria

      • There is an automated e2e test for RBAC querying on MCO
      • e2e test runs in MCO as part of our e2e and regression suite

              Unassigned Unassigned
              mzardab@redhat.com Moad Zardab
              Xiang Yin Xiang Yin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: