From 2e050cbf1435c527bf5238f7c50af7c430d94088 Mon Sep 17 00:00:00 2001 From: PrimalPimmy Date: Thu, 18 Jul 2024 03:29:56 +0530 Subject: [PATCH] log testing Signed-off-by: PrimalPimmy --- controllers/pkg/reconcilers/spire-bootstrap/reconciler.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/controllers/pkg/reconcilers/spire-bootstrap/reconciler.go b/controllers/pkg/reconcilers/spire-bootstrap/reconciler.go index 213ce2f0..f73394bc 100644 --- a/controllers/pkg/reconcilers/spire-bootstrap/reconciler.go +++ b/controllers/pkg/reconcilers/spire-bootstrap/reconciler.go @@ -104,6 +104,7 @@ func (r *reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Resu // Add your reconciliation logic here log.Info("Reconciling Cluster", "cluster", cl.Name) + fmt.Println("TESTTT !!!!!!!!!") // Fetch the ConfigMap from the current cluster configMapName := types.NamespacedName{Name: "spire-bundle", Namespace: "spire"} @@ -114,6 +115,8 @@ func (r *reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Resu return reconcile.Result{}, err } + fmt.Println("TESTTT @@@@@@") + secrets := &v1.SecretList{} if err := r.List(ctx, secrets); err != nil { msg := "cannot list secrets"