kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
    name: 'system:controller:disruption-controller'
    selfLink: >-
        /apis/rbac.authorization.k8s.io/v1/clusterroles/system%3Acontroller%3Adisruption-controller
    uid: af6964cc-3437-11ea-9cdc-42010a8001cf
    resourceVersion: '61446099'
    creationTimestamp: '2020-01-11T06:00:35Z'
    labels:
        kubernetes.io/bootstrapping: rbac-defaults
    annotations:
        rbac.authorization.kubernetes.io/autoupdate: 'true'
rules:
    -
        verbs:
            - get
            - list
            - watch
        apiGroups:
            - apps
            - extensions
        resources:
            - deployments
    -
        verbs:
            - get
            - list
            - watch
        apiGroups:
            - apps
            - extensions
        resources:
            - replicasets
    -
        verbs:
            - get
            - list
            - watch
        apiGroups:
            - ''
        resources:
            - replicationcontrollers
    -
        verbs:
            - get
            - list
            - watch
        apiGroups:
            - policy
        resources:
            - poddisruptionbudgets
    -
        verbs:
            - get
            - list
            - watch
        apiGroups:
            - apps
        resources:
            - statefulsets
    -
        verbs:
            - update
        apiGroups:
            - policy
        resources:
            - poddisruptionbudgets/status
    -
        verbs:
            - create
            - patch
            - update
        apiGroups:
            - ''
        resources:
            - events
    -
        verbs:
            - get
        apiGroups:
            - '*'
        resources:
            - '*/scale'
    -
        verbs:
            - create
        apiGroups:
            - events.k8s.io
        resources:
            - events
    -
        verbs:
            - patch
        apiGroups:
            - events.k8s.io
        resources:
            - events
    -
        verbs:
            - update
        apiGroups:
            - events.k8s.io
        resources:
            - events

