Allow to check configuration of all resources like ingresses #828
Replies: 2 comments 1 reply
-
When it comes to configuration audits we definitely want to support all resource kinds! Currently (v0.13.0) the Conftest plugin has a predefined list or resource kinds, but short term we can extend it easily by adding Ingress there. Eventually we'd like to make the list of discovered resources configurable, but this requires thinking about RBAC config. For example, adding Ingress or RuntimeClass object must be synced with RBAC permissions granted to a service account used run a Starboard Operator pod. This is also somehow related to another ask from the community to run the Conftest plugin with a dedicated service account, which may be a bit simpler to configure overall. |
Beta Was this translation helpful? Give feedback.
-
Very interesting. What is the roadmap? Can we participate? |
Beta Was this translation helpful? Give feedback.
-
I use starboard on a pre-production k8s cluster, where all our development teams deploy their Helm charts. So I would to check that all deployed resources respect some best practices.
For that I use starboard with conftest and several selected policies. One thing that I want to be sure is that no resources use some deprecated k8s API. For that I use policies from deprek8ion project.
K8s 1.19 deprecated some API that are removed in k8s 1.22. These deprek8ion policies check all these deprecations that concern for example ingresses.
The problem is that the
ConfigAuditReportReconciler
controller does not support ingresses:starboard/pkg/operator/controller/configauditreport.go
Lines 49 to 65 in 7ef9060
Could we add more supported resources, like ingresses...
Beta Was this translation helpful? Give feedback.
All reactions