Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove unset reqId parameter from logging #1658

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/connaisseur/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: connaisseur
description: Helm chart for Connaisseur - a Kubernetes admission controller to integrate container image signature verification and trust pinning into a cluster.
type: application
version: 2.5.0
appVersion: 3.5.0
version: 2.5.1
appVersion: 3.5.1
keywords:
- container image
- signature
Expand Down
7 changes: 1 addition & 6 deletions internal/handler/validation/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,7 @@ func ValidateImage(ctx context.Context, in ValidationInput, out chan<- Validatio
errOut = err
return
}
logrus.Debugf(
"matched rule: %s for image %s with reqId %s",
rule.Pattern,
img.Name(),
ctx.Value("reqId"),
)
logrus.Debugf("matched rule %s for image %s", rule.Pattern, img.Name())

// get validator
validator, err := config.Validator(rule.Validator)
Expand Down
Loading