Skip to content

Commit

Permalink
log testing
Browse files Browse the repository at this point in the history
Signed-off-by: PrimalPimmy <[email protected]>
  • Loading branch information
PrimalPimmy committed Jul 17, 2024
1 parent a9eb6e4 commit 82cae26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/pkg/reconcilers/spire-bootstrap/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (r *reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Resu
log.Error(err, "Error authenticating to Vault:")
}

fmt.Printf("Successfully authenticated to Vault. Client token: %s\n", clientToken)
log.Info("Successfully authenticated to Vault.", "Client token:", clientToken)

config := vault.DefaultConfig()
config.Address = vaultAddr
Expand Down Expand Up @@ -164,7 +164,7 @@ func (r *reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Resu
fmt.Println("Error decoding base64:", err)
}

fmt.Printf("Secret retrieved: %v\n", decodedKubeConfig)
log.Info("Secret retrieved:", "Secret", decodedKubeConfig)

Client, err := createK8sClientFromKubeconfig(decodedKubeConfig)

Expand Down

0 comments on commit 82cae26

Please sign in to comment.