The kubewarden-controller Helm chart installs a ClusterRole called kubewarden-controller-metrics-reader. This looks a SA used by Prometheus to scrap our metrics. However, there is no reference to this ClusterRole anywhere and there is no role binding to it as well. Therefore, we should double check if this role is necessary.
Acceptance criteria
- Check the usage of kubewarden-controller-metrics-reader
- Test the telemetry configuration without installed the role
- If it's not necessary, delete it.
- If it's necessary indeed, document how it is used
Originally posted by @jvanz in #1520 (comment)
The
kubewarden-controllerHelm chart installs aClusterRolecalledkubewarden-controller-metrics-reader. This looks a SA used by Prometheus to scrap our metrics. However, there is no reference to thisClusterRoleanywhere and there is no role binding to it as well. Therefore, we should double check if this role is necessary.Acceptance criteria
Originally posted by @jvanz in #1520 (comment)