github.com/replicatedcom/ship@v0.50.0/integration/init/istio-1.0.3/expected/.ship/upstream/charts/prometheus/templates/clusterrole.yaml (about)

     1  apiVersion: rbac.authorization.k8s.io/v1beta1
     2  kind: ClusterRole
     3  metadata:
     4    name: prometheus-{{ .Release.Namespace }}
     5  rules:
     6  - apiGroups: [""]
     7    resources:
     8    - nodes
     9    - services
    10    - endpoints
    11    - pods
    12    - nodes/proxy
    13    verbs: ["get", "list", "watch"]
    14  - apiGroups: [""]
    15    resources:
    16    - configmaps
    17    verbs: ["get"]
    18  - nonResourceURLs: ["/metrics"]
    19    verbs: ["get"]