github.com/m3db/m3@v1.5.1-0.20231129193456-75a402aa583b/scripts/vagrant/provision/manifests/kube-prometheus/kube-state-metrics-clusterRole.yaml (about)

     1  apiVersion: rbac.authorization.k8s.io/v1
     2  kind: ClusterRole
     3  metadata:
     4    name: kube-state-metrics
     5  rules:
     6  - apiGroups:
     7    - ""
     8    resources:
     9    - configmaps
    10    - secrets
    11    - nodes
    12    - pods
    13    - services
    14    - resourcequotas
    15    - replicationcontrollers
    16    - limitranges
    17    - persistentvolumeclaims
    18    - persistentvolumes
    19    - namespaces
    20    - endpoints
    21    verbs:
    22    - list
    23    - watch
    24  - apiGroups:
    25    - extensions
    26    resources:
    27    - daemonsets
    28    - deployments
    29    - replicasets
    30    verbs:
    31    - list
    32    - watch
    33  - apiGroups:
    34    - apps
    35    resources:
    36    - statefulsets
    37    - daemonsets
    38    - deployments
    39    - replicasets
    40    verbs:
    41    - list
    42    - watch
    43  - apiGroups:
    44    - batch
    45    resources:
    46    - cronjobs
    47    - jobs
    48    verbs:
    49    - list
    50    - watch
    51  - apiGroups:
    52    - autoscaling
    53    resources:
    54    - horizontalpodautoscalers
    55    verbs:
    56    - list
    57    - watch
    58  - apiGroups:
    59    - authentication.k8s.io
    60    resources:
    61    - tokenreviews
    62    verbs:
    63    - create
    64  - apiGroups:
    65    - authorization.k8s.io
    66    resources:
    67    - subjectaccessreviews
    68    verbs:
    69    - create
    70  - apiGroups:
    71    - policy
    72    resources:
    73    - poddisruptionbudgets
    74    verbs:
    75    - list
    76    - watch