apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: annotations: rbac.authorization.kubernetes.io/autoupdate: "true" creationTimestamp: null labels: kubernetes.io/bootstrapping: rbac-defaults name: wavefront-collector rules: - apiGroups: - "" resources: - events - namespaces - nodes - nodes/proxy - nodes/stats - nodes/metrics - pods - replicationcontrollers - secrets - services verbs: - get - list - watch - apiGroups: - "" resources: - configmaps verbs: - get - update - create - list - watch # required for kubernetes_state_source - apiGroups: - apps resources: - daemonsets - deployments - statefulsets - replicasets verbs: - get - list - watch - apiGroups: - batch resources: - jobs - cronjobs verbs: - get - list - watch - apiGroups: - autoscaling resources: - horizontalpodautoscalers verbs: - get - list - watch - nonResourceURLs: ["/metrics"] verbs: - get