Skip to content

Commit

Permalink
fix(PL-2701): log helm authentication success event
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmdm committed May 13, 2024
1 parent 9989bfa commit e559d23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e559d23

Please sign in to comment.