kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
    name: 'system:kube-dns-autoscaler'
    selfLink: >-
        /apis/rbac.authorization.k8s.io/v1/clusterroles/system%3Akube-dns-autoscaler
    uid: c60674e4-3437-11ea-9cdc-42010a8001cf
    resourceVersion: '223929776'
    creationTimestamp: '2020-01-11T06:01:13Z'
    labels:
        addonmanager.kubernetes.io/mode: Reconcile
    annotations:
        kubectl.kubernetes.io/last-applied-configuration: >
            {"apiVersion":"rbac.authorization.k8s.io/v1","kind":"ClusterRole","metadata":{"annotations":{},"labels":{"addonmanager.kubernetes.io/mode":"Reconcile"},"name":"system:kube-dns-autoscaler"},"rules":[{"apiGroups":[""],"resources":["nodes"],"verbs":["list","watch"]},{"apiGroups":[""],"resources":["replicationcontrollers/scale"],"verbs":["get","update"]},{"apiGroups":["apps"],"resources":["deployments/scale","replicasets/scale"],"verbs":["get","update"]},{"apiGroups":[""],"resources":["configmaps"],"verbs":["get","create"]}]}
rules:
    -
        verbs:
            - list
            - watch
        apiGroups:
            - ''
        resources:
            - nodes
    -
        verbs:
            - get
            - update
        apiGroups:
            - ''
        resources:
            - replicationcontrollers/scale
    -
        verbs:
            - get
            - update
        apiGroups:
            - apps
        resources:
            - deployments/scale
            - replicasets/scale
    -
        verbs:
            - get
            - create
        apiGroups:
            - ''
        resources:
            - configmaps

