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

     1  ---
     2  # Source: istio/charts/prometheus/templates/clusterrole.yaml
     3  apiVersion: rbac.authorization.k8s.io/v1beta1
     4  kind: ClusterRole
     5  metadata:
     6    name: prometheus-default
     7    labels:
     8      app: prometheus
     9      chart: prometheus
    10      heritage: Tiller
    11      release: istio
    12  rules:
    13  - apiGroups: [""]
    14    resources:
    15    - nodes
    16    - services
    17    - endpoints
    18    - pods
    19    - nodes/proxy
    20    verbs: ["get", "list", "watch"]
    21  - apiGroups: [""]
    22    resources:
    23    - configmaps
    24    verbs: ["get"]
    25  - nonResourceURLs: ["/metrics"]
    26    verbs: ["get"]