kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
    name: 'stackdriver:metadata-agent'
    selfLink: >-
        /apis/rbac.authorization.k8s.io/v1/clusterroles/stackdriver%3Ametadata-agent
    uid: d4730319-fc5e-4a44-b650-9f567a66e53b
    resourceVersion: '100939946'
    creationTimestamp: '2020-06-13T07:50:32Z'
    labels:
        addonmanager.kubernetes.io/mode: Reconcile
        kubernetes.io/cluster-service: 'true'
    annotations:
        kubectl.kubernetes.io/last-applied-configuration: >
            {"apiVersion":"rbac.authorization.k8s.io/v1","kind":"ClusterRole","metadata":{"annotations":{},"labels":{"addonmanager.kubernetes.io/mode":"Reconcile","kubernetes.io/cluster-service":"true"},"name":"stackdriver:metadata-agent"},"rules":[{"apiGroups":["*"],"resources":["*"],"verbs":["watch","get","list"]},{"apiGroups":["apps","extensions"],"resources":["deployments"],"verbs":["get","update"]},{"nonResourceURLs":["/metrics"],"verbs":["get"]}]}
rules:
    -
        verbs:
            - watch
            - get
            - list
        apiGroups:
            - '*'
        resources:
            - '*'
    -
        verbs:
            - get
            - update
        apiGroups:
            - apps
            - extensions
        resources:
            - deployments
    -
        verbs:
            - get
        nonResourceURLs:
            - /metrics

