Skip to main content

aient-viewer RBAC template

Paste this when you attach a cluster. It grants get, list and watch on the common built-in and operator resources, plus pod logs. It leaves out Secrets and the resources whose contents can carry secret material; the comments at the top name what is excluded and why. Remove any API group you do not want agents to read. Aient merges the rules of both ClusterRoles into one declaration. The gateway admits only get and list, whatever watch grants.
aient-viewer.yaml