How to create a ClusterRole that allows get of all CRDs?

1/28/2022

I am using kubernetes-event-exporter to stream events to elastic search. While the events are being streamed, there are tons of errors because the "view" ClusterRole does not allow for getting lables/annotations for my CRDs.

Is there a way to define a ClusterRole so that I don't need to specify every single CRD in there to get read access?

-- Ilya Chernomordik
k8s-cluster-role
k8s-rolebinding
kubernetes
kubernetes-event-exporter

0 Answers