Skip to content

Commit

Permalink
chore: move secret logging to v1 (#1211)
Browse files Browse the repository at this point in the history
Signed-off-by: Husni Alhamdani <[email protected]>
  • Loading branch information
husnialhamdani authored Jan 15, 2025
1 parent fff5a89 commit c32cd41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/k8sutils/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func getRedisPassword(ctx context.Context, client kubernetes.Interface, namespac
}
for key, value := range secretName.Data {
if key == secretKey {
logf.FromContext(ctx).Info("Secret key found in the secret", "secretKey", secretKey)
logf.FromContext(ctx).V(1).Info("Secret key found in the secret", "secretKey", secretKey)
return strings.TrimSpace(string(value)), nil
}
}
Expand Down

0 comments on commit c32cd41

Please sign in to comment.