github.com/m3db/m3@v1.5.0/scripts/vagrant/provision/manifests/kube-prometheus/prometheus-roleSpecificNamespaces.yaml (about)

     1  apiVersion: rbac.authorization.k8s.io/v1
     2  items:
     3  - apiVersion: rbac.authorization.k8s.io/v1
     4    kind: Role
     5    metadata:
     6      name: prometheus-k8s
     7      namespace: default
     8    rules:
     9    - apiGroups:
    10      - ""
    11      resources:
    12      - services
    13      - endpoints
    14      - pods
    15      - podmonitors
    16      verbs:
    17      - get
    18      - list
    19      - watch
    20  - apiVersion: rbac.authorization.k8s.io/v1
    21    kind: Role
    22    metadata:
    23      name: prometheus-k8s
    24      namespace: kube-system
    25    rules:
    26    - apiGroups:
    27      - ""
    28      resources:
    29      - services
    30      - endpoints
    31      - pods
    32      - podmonitors
    33      verbs:
    34      - get
    35      - list
    36      - watch
    37  - apiVersion: rbac.authorization.k8s.io/v1
    38    kind: Role
    39    metadata:
    40      name: prometheus-k8s
    41      namespace: monitoring
    42    rules:
    43    - apiGroups:
    44      - ""
    45      resources:
    46      - services
    47      - endpoints
    48      - pods
    49      - podmonitors
    50      verbs:
    51      - get
    52      - list
    53      - watch
    54  kind: RoleList