Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CISKubeBenchReportReconciler ¶
type CISKubeBenchReportReconciler struct { logr.Logger etc.Config client.Client kube.LogsReader LimitChecker kubebench.ReadWriter kubebench.Plugin trivyoperator.ConfigData }
CISKubeBenchReportReconciler reconciles corev1.Node and corev1.Job objects to check cluster nodes configuration with CIS Kubernetes Benchmark and saves results as v1alpha1.CISKubeBenchReport objects. Each v1alpha1.CISKubeBenchReport is controlled by the corev1.Node for which it was generated. Additionally, the CISKubeBenchReportReconciler.SetupWithManager method informs the ctrl.Manager that this controller reconciles nodes that own benchmark reports, so that it will automatically call the reconcile callback on the underlying corev1.Node when a v1alpha1.CISKubeBenchReport changes, is deleted, etc.
func (*CISKubeBenchReportReconciler) SetupWithManager ¶
func (r *CISKubeBenchReportReconciler) SetupWithManager(mgr ctrl.Manager) error
type ConfigAuditReportReconciler ¶
type ConfigAuditReportReconciler struct { logr.Logger etc.Config trivyoperator.ConfigData client.Client kube.ObjectResolver LimitChecker kube.LogsReader configauditreport.Plugin trivyoperator.PluginContext configauditreport.ReadWriter }
func (*ConfigAuditReportReconciler) SetupWithManager ¶
func (r *ConfigAuditReportReconciler) SetupWithManager(mgr ctrl.Manager) error
type LimitChecker ¶
func NewLimitChecker ¶
func NewLimitChecker(config etc.Config, client client.Client, trivyOperatorConfig trivyoperator.ConfigData) LimitChecker
type PluginsConfigReconciler ¶
type PluginsConfigReconciler struct { logr.Logger etc.Config client.Client trivyoperator.PluginContext configauditreport.Plugin }
func (*PluginsConfigReconciler) SetupWithManager ¶
func (r *PluginsConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.