Should there be a way to ignore a set of ClusterRoles from flagging this? We may want to allow some system level ClusterRoles to have * in them. This would allow for cluster that are spun up with basic settings to pass. I don't think any EKS clusters would actually pass this unless you go in and modify these directly. Which sounds worse than having this flag.
If there is no option to filter ClusterRoles, then there should at least be examples of how to properly set these ClusterRoles, without the user having to go through the hard work.
Here is an example of a fresh cluster that was just built.
Another benefit of adding an ignore option for ClusterRole would be, users would be able to pass their own in if they wanted too, because they are running a third party ClusterRole that they cant modify.
Should there be a way to
ignore
a set of ClusterRoles from flagging this? We may want to allow some system level ClusterRoles to have*
in them. This would allow for cluster that are spun up with basic settings to pass. I don't think any EKS clusters would actually pass this unless you go in and modify these directly. Which sounds worse than having this flag.If there is no option to filter ClusterRoles, then there should at least be examples of how to properly set these ClusterRoles, without the user having to go through the hard work.
Here is an example of a fresh cluster that was just built.
Another benefit of adding an ignore option for ClusterRole would be, users would be able to pass their own in if they wanted too, because they are running a third party ClusterRole that they cant modify.