diff --git a/internal/controller/lustrefilesystem_controller.go b/internal/controller/lustrefilesystem_controller.go index fb4ecc1..a2747a3 100644 --- a/internal/controller/lustrefilesystem_controller.go +++ b/internal/controller/lustrefilesystem_controller.go @@ -137,7 +137,7 @@ func (r *LustreFileSystemReconciler) Reconcile(ctx context.Context, req ctrl.Req // Iterate over the access modes in the specification. For each namespace in that mode // create a PV/PVC which can be used by pods in the same namespace. for namespace := range fs.Spec.Namespaces { - log.FromContext(ctx).Info("Reconcile Spec Namespace", "namespace", namespace) + // log.FromContext(ctx).Info("Reconcile Spec Namespace", "namespace", namespace) namespacePresent := true // If the namespace doesn't exist, set a flag so that we can appropriately set the status in the mode loop @@ -153,7 +153,7 @@ func (r *LustreFileSystemReconciler) Reconcile(ctx context.Context, req ctrl.Req // For each mode in the namespace for _, mode := range fs.Spec.Namespaces[namespace].Modes { - log.FromContext(ctx).Info("Processing Spec Namespace Mode", "mode", mode) + // log.FromContext(ctx).Info("Processing Spec Namespace Mode", "mode", mode) // Create the Status Namespace Mode map if empty if fs.Status.Namespaces[namespace].Modes == nil { @@ -200,10 +200,10 @@ func (r *LustreFileSystemReconciler) Reconcile(ctx context.Context, req ctrl.Req // Remove any resources that are not in the spec for namespace := range fs.Status.Namespaces { - log.FromContext(ctx).Info("Reconcile Status Namespace", "namespace", namespace) + // log.FromContext(ctx).Info("Reconcile Status Namespace", "namespace", namespace) for mode := range fs.Status.Namespaces[namespace].Modes { - log.FromContext(ctx).Info("Processing Status Namespace Mode", "mode", mode) + // log.FromContext(ctx).Info("Processing Status Namespace Mode", "mode", mode) // Check if the provided namespace and mode are present in the specification isPresentInSpec := func(namespace string, mode corev1.PersistentVolumeAccessMode) bool {