From e559d238a4a44d803117cabde3eeb6d0a5e07834 Mon Sep 17 00:00:00 2001 From: David Desmarais-Michaud Date: Mon, 13 May 2024 15:53:45 -0400 Subject: [PATCH] fix(PL-2701): log helm authentication success event --- cmd/server/main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/server/main.go b/cmd/server/main.go index 35f9ebe..2a81320 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -41,6 +41,10 @@ func run() error { if err := AuthenticateHelm(ctx, cfg.Google.Repository, cfg.Google.RawCredentials); err != nil { return fmt.Errorf("failed to authenticate to helm: %w", err) } + logger.Info(). + Str("registry", cfg.Google.Repository). + Int("credentials_length", len(cfg.Google.RawCredentials)). + Msg("successfully authenticated to helm") } repo, err := func() (*github.Repo, error) {