github.com/redhat-appstudio/release-service@v0.0.0-20240507045911-a8558ef3422a/config/rbac/prometheus_viewer_role.yaml (about)

     1  # permissions for prometheus to view custom metrics.
     2  apiVersion: rbac.authorization.k8s.io/v1
     3  kind: ClusterRole
     4  metadata:
     5    name: prometheus-viewer-role
     6  rules:
     7    - nonResourceURLs:
     8      - /metrics
     9      verbs: [get]