kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
    name: snapshot-controller-leaderelection
    namespace: kube-system
    selfLink: >-
        /apis/rbac.authorization.k8s.io/v1/namespaces/kube-system/roles/snapshot-controller-leaderelection
    uid: 31147c63-b852-4fde-b01a-c2bba90aa9d8
    resourceVersion: '223929785'
    creationTimestamp: '2021-04-09T22:02:22Z'
    labels:
        addonmanager.kubernetes.io/mode: Reconcile
    annotations:
        components.gke.io/component-name: snapshot-controller-addon
        components.gke.io/component-version: 0.3.1
        components.gke.io/layer: addon
        kubectl.kubernetes.io/last-applied-configuration: >
            {"apiVersion":"rbac.authorization.k8s.io/v1","kind":"Role","metadata":{"annotations":{"components.gke.io/component-name":"snapshot-controller-addon","components.gke.io/component-version":"0.3.1","components.gke.io/layer":"addon"},"labels":{"addonmanager.kubernetes.io/mode":"Reconcile"},"name":"snapshot-controller-leaderelection","namespace":"kube-system"},"rules":[{"apiGroups":["coordination.k8s.io"],"resources":["leases"],"verbs":["get","watch","list","delete","update","create"]}]}
rules:
    -
        verbs:
            - get
            - watch
            - list
            - delete
            - update
            - create
        apiGroups:
            - coordination.k8s.io
        resources:
            - leases

