Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var DefaultAideConfig = `` /* 1113-byte string literal not displayed */
NOTE: Needs to be in sync with `testAideConfig` in test/e2e/helpers.go, except for the heading comment.
Functions ¶
Types ¶
type FileIntegrityReconciler ¶
FileIntegrityReconciler reconciles a FileIntegrity object
func (*FileIntegrityReconciler) FileIntegrityControllerReconcile ¶
func (r *FileIntegrityReconciler) FileIntegrityControllerReconcile(request reconcile.Request) (reconcile.Result, error)
Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue. Reconcile handles the creation and update of configMaps as well as the initial daemonSets for the AIDE pods.
func (*FileIntegrityReconciler) Reconcile ¶
func (r *FileIntegrityReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the FileIntegrity object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.10.0/pkg/reconcile
func (*FileIntegrityReconciler) SetupWithManager ¶
func (r *FileIntegrityReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.