Skip to content

Commit

Permalink
more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
wking committed Jan 2, 2025
1 parent 166a88b commit 6a4d449
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/aws/actuator/actuator.go
Original file line number Diff line number Diff line change
Expand Up @@ -1015,10 +1015,12 @@ func (a *AWSActuator) buildReadAWSClient(cr *minterv1.CredentialsRequest) (minte
}

func (a *AWSActuator) getLogger(cr *minterv1.CredentialsRequest) log.FieldLogger {
return log.WithFields(log.Fields{
entry := log.WithFields(log.Fields{
"actuator": "aws",
"cr": fmt.Sprintf("%s/%s", cr.Namespace, cr.Name),
})
entry.SetLevel(log.DebugLevel)
return entry
}

func (a *AWSActuator) syncAccessKeySecret(ctx context.Context, cr *minterv1.CredentialsRequest, accessKeyID, secretAccessKey string, userPolicy string, logger log.FieldLogger) error {
Expand Down

0 comments on commit 6a4d449

Please sign in to comment.