kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
    name: 'system:resource-tracker'
    selfLink: >-
        /apis/rbac.authorization.k8s.io/v1/clusterroles/system%3Aresource-tracker
    uid: 12fb9acf-558c-4f05-9e4a-c4591c020813
    resourceVersion: '61444945'
    creationTimestamp: '2020-06-13T07:50:43Z'
    labels:
        addonmanager.kubernetes.io/mode: Reconcile
    annotations:
        components.gke.io/component-version: resource-tracker-rbac-1.0.3
        kubectl.kubernetes.io/last-applied-configuration: >
            {"apiVersion":"rbac.authorization.k8s.io/v1","kind":"ClusterRole","metadata":{"annotations":{"components.gke.io/component-version":"resource-tracker-rbac-1.0.3"},"labels":{"addonmanager.kubernetes.io/mode":"Reconcile"},"name":"system:resource-tracker"},"rules":[{"apiGroups":[""],"resources":["nodes","persistentvolumeclaims","persistentvolumes","pods","services","configmaps"],"verbs":["get","list","watch"]},{"apiGroups":[""],"resources":["configmaps"],"verbs":["create","delete","update","patch"]},{"apiGroups":["storage.k8s.io"],"resources":["storageclasses"],"verbs":["get","list","watch"]},{"apiGroups":[""],"resources":["pods/portforward"],"verbs":["create"]},{"apiGroups":[""],"resources":["endpoints"],"verbs":["create","get","update"]},{"apiGroups":[""],"resources":["events"],"verbs":["create","patch"]},{"apiGroups":["metrics.k8s.io"],"resources":["pods"],"verbs":["list"]}]}
rules:
    -
        verbs:
            - get
            - list
            - watch
        apiGroups:
            - ''
        resources:
            - nodes
            - persistentvolumeclaims
            - persistentvolumes
            - pods
            - services
            - configmaps
    -
        verbs:
            - create
            - delete
            - update
            - patch
        apiGroups:
            - ''
        resources:
            - configmaps
    -
        verbs:
            - get
            - list
            - watch
        apiGroups:
            - storage.k8s.io
        resources:
            - storageclasses
    -
        verbs:
            - create
        apiGroups:
            - ''
        resources:
            - pods/portforward
    -
        verbs:
            - create
            - get
            - update
        apiGroups:
            - ''
        resources:
            - endpoints
    -
        verbs:
            - create
            - patch
        apiGroups:
            - ''
        resources:
            - events
    -
        verbs:
            - list
        apiGroups:
            - metrics.k8s.io
        resources:
            - pods

