kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
    name: 'system:controller:endpointslice-controller'
    selfLink: >-
        /apis/rbac.authorization.k8s.io/v1/clusterroles/system%3Acontroller%3Aendpointslice-controller
    uid: a159da27-f63d-48bd-ad70-86442bcc8577
    resourceVersion: '223929052'
    creationTimestamp: '2021-05-11T16:14:35Z'
    labels:
        kubernetes.io/bootstrapping: rbac-defaults
    annotations:
        rbac.authorization.kubernetes.io/autoupdate: 'true'
    managedFields:
        -
            manager: kube-apiserver
            operation: Update
            apiVersion: rbac.authorization.k8s.io/v1
            time: '2021-05-11T16:14:35Z'
            fieldsType: FieldsV1
            fieldsV1:
                'f:metadata':
                    'f:annotations':
                        .: {}
                        'f:rbac.authorization.kubernetes.io/autoupdate': {}
                    'f:labels':
                        .: {}
                        'f:kubernetes.io/bootstrapping': {}
                'f:rules': {}
rules:
    -
        verbs:
            - get
            - list
            - watch
        apiGroups:
            - ''
        resources:
            - nodes
            - pods
            - services
    -
        verbs:
            - update
        apiGroups:
            - ''
        resources:
            - services/finalizers
    -
        verbs:
            - create
            - delete
            - get
            - list
            - update
        apiGroups:
            - discovery.k8s.io
        resources:
            - endpointslices
    -
        verbs:
            - create
            - patch
            - update
        apiGroups:
            - ''
            - events.k8s.io
        resources:
            - events

