kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
    name: 'system:clustermetrics'
    selfLink: /apis/rbac.authorization.k8s.io/v1/clusterroles/system%3Aclustermetrics
    uid: 233b323f-51a0-486f-8b86-fa4bcbf6bb37
    resourceVersion: '166249615'
    creationTimestamp: '2020-06-13T07:50:40Z'
    labels:
        addonmanager.kubernetes.io/mode: Reconcile
    annotations:
        components.gke.io/component-name: clustermetrics-rbac
        components.gke.io/component-version: 1.4.0
        kubectl.kubernetes.io/last-applied-configuration: >
            {"apiVersion":"rbac.authorization.k8s.io/v1","kind":"ClusterRole","metadata":{"annotations":{"components.gke.io/component-name":"clustermetrics-rbac","components.gke.io/component-version":"1.4.0"},"labels":{"addonmanager.kubernetes.io/mode":"Reconcile"},"name":"system:clustermetrics"},"rules":[{"apiGroups":[""],"resources":["componentstatuses","namespaces","nodes","pods","resourcequotas"],"verbs":["get","list","watch"]},{"apiGroups":[""],"resources":["configmaps","events"],"verbs":["create","get","update"]},{"apiGroups":["admissionregistration.k8s.io"],"resources":["mutatingwebhookconfigurations"],"verbs":["list","watch"]},{"apiGroups":["apps"],"resources":["deployments","replicasets","statefulsets","daemonsets"],"verbs":["list","watch"]},{"apiGroups":["batch"],"resources":["jobs"],"verbs":["list","watch"]},{"apiGroups":["policy"],"resources":["poddisruptionbudgets"],"verbs":["list","watch"]}]}
rules:
    -
        verbs:
            - get
            - list
            - watch
        apiGroups:
            - ''
        resources:
            - componentstatuses
            - namespaces
            - nodes
            - pods
            - resourcequotas
    -
        verbs:
            - create
            - get
            - update
        apiGroups:
            - ''
        resources:
            - configmaps
            - events
    -
        verbs:
            - list
            - watch
        apiGroups:
            - admissionregistration.k8s.io
        resources:
            - mutatingwebhookconfigurations
    -
        verbs:
            - list
            - watch
        apiGroups:
            - apps
        resources:
            - deployments
            - replicasets
            - statefulsets
            - daemonsets
    -
        verbs:
            - list
            - watch
        apiGroups:
            - batch
        resources:
            - jobs
    -
        verbs:
            - list
            - watch
        apiGroups:
            - policy
        resources:
            - poddisruptionbudgets

