kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
    name: kube-ops-view
    selfLink: /apis/rbac.authorization.k8s.io/v1/clusterroles/kube-ops-view
    uid: d47264e3-3da4-11ea-96d3-42010a80017a
    resourceVersion: '4358569'
    creationTimestamp: '2020-01-23T05:54:33Z'
    annotations:
        kubectl.kubernetes.io/last-applied-configuration: >
            {"apiVersion":"rbac.authorization.k8s.io/v1","kind":"ClusterRole","metadata":{"annotations":{},"name":"kube-ops-view"},"rules":[{"apiGroups":[""],"resources":["nodes","pods"],"verbs":["list"]},{"apiGroups":["metrics.k8s.io"],"resources":["nodes","pods"],"verbs":["get","list"]}]}
rules:
    -
        verbs:
            - list
        apiGroups:
            - ''
        resources:
            - nodes
            - pods
    -
        verbs:
            - get
            - list
        apiGroups:
            - metrics.k8s.io
        resources:
            - nodes
            - pods

