From dd12e0858c5560fd0743f359a1d65563b5ebf5f8 Mon Sep 17 00:00:00 2001 From: Daniel Quackenbush <25692880+danquack@users.noreply.github.com> Date: Tue, 1 Oct 2024 16:40:40 -0400 Subject: [PATCH] :lock: remove secret from log --- operator/internal/controller/fleethandshake_controller.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/operator/internal/controller/fleethandshake_controller.go b/operator/internal/controller/fleethandshake_controller.go index 66f7dd7..e7bc114 100644 --- a/operator/internal/controller/fleethandshake_controller.go +++ b/operator/internal/controller/fleethandshake_controller.go @@ -139,8 +139,6 @@ func (r *FleetHandshakeReconciler) Reconcile(ctx context.Context, req ctrl.Reque } } - logger.Info(fmt.Sprintf(`{"message": "Bundle content", "name": %q, "namespace": %q, "content": %s}`, bundle.Name, bundle.Namespace, bundle.Spec.Resources[0].Content)) - fleetHandshake.Status.Status = "Synced" if err := r.Status().Update(ctx, &fleetHandshake); err != nil { logger.Error(err, "Unable to update FleetHandshake status")