How to allow Developers and non-admin users to be able to view application logs from Openshift Developer webconsole?

Solution Verified - Updated -

Issue

  • Users who are not cluster-admins are not able to see application logs from Openshift Developer webconsole
  • Developers who are non-admin users are not able to access the Aggregated Logs tab under Developer > Observe menu from Developer webconsole
  • How to allow Developers retrieve application logs for only those projects that they created or have admin access from the OpenShift Developer webconsole?
  • Is there any custom role that allows Developers to view Developer > Observe > Aggregated Logs tab from Openshift Developer webconsole?

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.10.z, 4.11.z
  • Red Hat OpenShift Logging operator
    • 5.6.2
  • Loki Operator
    • 5.6.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content